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

@@ -72,6 +72,7 @@
let domEditor;
let savedName;
let resetCounter = 0;
export const activator = createActivator('TableStructureTab', true);
@@ -157,7 +158,8 @@
export async function reset() {
await apiCall('database-connections/sync-model', { conid, database });
clearEditorData();
await clearEditorData();
resetCounter++;
}
// $: {
@@ -172,6 +174,7 @@
tableInfo={showTable}
dbInfo={$dbInfo}
{driver}
{resetCounter}
setTableInfo={objectTypeField == 'tables' && !$connection?.isReadOnly && hasPermission(`dbops/model/edit`)
? tableInfoUpdater =>
setEditorData(tbl =>