1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

refactor: ts fix

This commit is contained in:
2024-10-25 18:44:49 +02:00
parent ccbcffc7f0
commit 38af648440

View File

@@ -173,7 +173,7 @@ export interface CreateTableParams {
fields: TableField[]; fields: TableField[];
foreigns: TableForeign[]; foreigns: TableForeign[];
indexes: TableIndex[]; indexes: TableIndex[];
checks: TableCheck[]; checks?: TableCheck[];
options: TableOptions; options: TableOptions;
} }
@@ -201,7 +201,7 @@ export interface AlterTableParams {
changes: TableForeign[]; changes: TableForeign[];
deletions: TableForeign[]; deletions: TableForeign[];
}; };
checkChanges: { checkChanges?: {
additions: TableCheck[]; additions: TableCheck[];
changes: TableCheck[]; changes: TableCheck[];
deletions: TableCheck[]; deletions: TableCheck[];