Add clost, partners and clients to migrations
This commit is contained in:
parent
a5c570ec42
commit
195df55fcf
@ -116,6 +116,56 @@ databaseChangeLog:
|
|||||||
nullable: true
|
nullable: true
|
||||||
name: end_date_time
|
name: end_date_time
|
||||||
type: TIMESTAMP WITH TIME ZONE
|
type: TIMESTAMP WITH TIME ZONE
|
||||||
|
- createTable:
|
||||||
|
tableName: slots
|
||||||
|
columns:
|
||||||
|
- column:
|
||||||
|
constraints:
|
||||||
|
nullable: false
|
||||||
|
primaryKey: true
|
||||||
|
primaryKeyName: PK_slots
|
||||||
|
name: id
|
||||||
|
type: TEXT
|
||||||
|
- column:
|
||||||
|
constraints:
|
||||||
|
nullable: false
|
||||||
|
name: start_time
|
||||||
|
type: TIME WITH TIME ZONE
|
||||||
|
- column:
|
||||||
|
constraints:
|
||||||
|
nullable: false
|
||||||
|
name: end_time
|
||||||
|
type: TIME WITH TIME ZONE
|
||||||
|
- createTable:
|
||||||
|
tableName: partners
|
||||||
|
columns:
|
||||||
|
- column:
|
||||||
|
constraints:
|
||||||
|
nullable: false
|
||||||
|
primaryKey: true
|
||||||
|
primaryKeyName: PK_partners
|
||||||
|
name: id
|
||||||
|
type: TEXT
|
||||||
|
- column:
|
||||||
|
constraints:
|
||||||
|
nullable: false
|
||||||
|
name: name
|
||||||
|
type: TEXT
|
||||||
|
- createTable:
|
||||||
|
tableName: clients
|
||||||
|
columns:
|
||||||
|
- column:
|
||||||
|
constraints:
|
||||||
|
nullable: false
|
||||||
|
primaryKey: true
|
||||||
|
primaryKeyName: PK_clients
|
||||||
|
name: id
|
||||||
|
type: TEXT
|
||||||
|
- column:
|
||||||
|
constraints:
|
||||||
|
nullable: false
|
||||||
|
name: email
|
||||||
|
type: TEXT
|
||||||
- addForeignKeyConstraint:
|
- addForeignKeyConstraint:
|
||||||
baseColumnNames: unit_id
|
baseColumnNames: unit_id
|
||||||
baseTableName: doors
|
baseTableName: doors
|
||||||
|
Loading…
Reference in New Issue
Block a user