Fix schema to latest version

This commit is contained in:
kashiuno 2025-02-19 17:08:51 +03:00
parent 6abafedfec
commit 2211280078

View File

@ -128,12 +128,30 @@ databaseChangeLog:
constraints:
nullable: false
- column:
name: parent_door_id
name: parent_door_ids
type: TEXT
constraints:
nullable: true
foreignKeyName: FK_parent_doors
references: doors(id)
- 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
- column:
constraints:
nullable: false
name: email_is_confirmed
type: BOOLEAN
- createTable:
tableName: rent
columns:
@ -160,7 +178,7 @@ databaseChangeLog:
constraints:
nullable: false
foreignKeyName: FK_rent_clients
references: rent(id)
references: clients(id)
- column:
name: date
type: DATE
@ -188,26 +206,6 @@ databaseChangeLog:
type: TIMESTAMP WITH TIME ZONE
constraints:
nullable: false
- 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
- column:
constraints:
nullable: false
name: email_is_confirmed
type: BOOLEAN
- createTable:
tableName: schedule
columns: