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[];
foreigns: TableForeign[];
indexes: TableIndex[];
checks: TableCheck[];
checks?: TableCheck[];
options: TableOptions;
}
@@ -201,7 +201,7 @@ export interface AlterTableParams {
changes: TableForeign[];
deletions: TableForeign[];
};
checkChanges: {
checkChanges?: {
additions: TableCheck[];
changes: TableCheck[];
deletions: TableCheck[];