From 38af648440841c1918a9cf9114f1415b736e074b Mon Sep 17 00:00:00 2001 From: Fabio Di Stasio Date: Fri, 25 Oct 2024 18:44:49 +0200 Subject: [PATCH] refactor: ts fix --- src/common/interfaces/antares.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/interfaces/antares.ts b/src/common/interfaces/antares.ts index 4ec95939..5a79b647 100644 --- a/src/common/interfaces/antares.ts +++ b/src/common/interfaces/antares.ts @@ -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[];