clickhouse + mysql: modify table option

This commit is contained in:
Jan Prochazka
2024-09-11 15:09:16 +02:00
parent 7ad1950777
commit fb39cd1302
12 changed files with 88 additions and 21 deletions

View File

@@ -15,6 +15,7 @@ export interface AlterProcessor {
recreateTable(oldTable: TableInfo, newTable: TableInfo);
createSqlObject(obj: SqlObjectInfo);
dropSqlObject(obj: SqlObjectInfo);
setTableOption(table: TableInfo, optionName: string, optionValue: string);
fillPreloadedRows(
table: NamedObjectInfo,
oldRows: any[],

View File

@@ -48,5 +48,6 @@ export interface SqlDialect {
getTableFormOptions(intent: 'newTableForm' | 'editTableForm' | 'sqlCreateTable' | 'sqlAlterTable'): {
name: string;
sqlFormatString: string;
disabled?: boolean;
}[];
}