preloaded data works

This commit is contained in:
Jan Prochazka
2021-11-27 17:49:02 +01:00
parent d4f4211ee4
commit 40d53275e3
12 changed files with 177 additions and 5 deletions

View File

@@ -15,4 +15,5 @@ export interface AlterProcessor {
recreateTable(oldTable: TableInfo, newTable: TableInfo);
createSqlObject(obj: SqlObjectInfo);
dropSqlObject(obj: SqlObjectInfo);
fillPreloadedRows(table: NamedObjectInfo, oldRows: any[], newRows: any[], key: string[]);
}

View File

@@ -78,6 +78,8 @@ export interface TableInfo extends DatabaseObjectInfo {
indexes?: IndexInfo[];
uniques?: UniqueInfo[];
checks?: CheckInfo[];
preloadedRows?: any[];
preloadedRowsKey?: string[];
}
export interface CollectionInfo extends DatabaseObjectInfo {}