Skip to content

Commit

Permalink
refactor: ts fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Oct 25, 2024
1 parent ccbcffc commit 38af648
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/interfaces/antares.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export interface CreateTableParams {
fields: TableField[];
foreigns: TableForeign[];
indexes: TableIndex[];
checks: TableCheck[];
checks?: TableCheck[];
options: TableOptions;
}

Expand Down Expand Up @@ -201,7 +201,7 @@ export interface AlterTableParams {
changes: TableForeign[];
deletions: TableForeign[];
};
checkChanges: {
checkChanges?: {
additions: TableCheck[];
changes: TableCheck[];
deletions: TableCheck[];
Expand Down

0 comments on commit 38af648

Please sign in to comment.