mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 01:16:01 +00:00
clickhouse + mysql: modify table option
This commit is contained in:
@@ -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 =>
|
||||
|
||||
Reference in New Issue
Block a user