mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-02 02:03:58 +00:00
compare db model
This commit is contained in:
@@ -37,8 +37,6 @@ async function generateDeploySql({
|
|||||||
noDropSqlObject: true,
|
noDropSqlObject: true,
|
||||||
noRenameTable: true,
|
noRenameTable: true,
|
||||||
noRenameColumn: true,
|
noRenameColumn: true,
|
||||||
ignoreForeignKeyActions: true,
|
|
||||||
ignoreDataTypes: true,
|
|
||||||
};
|
};
|
||||||
const currentModelPaired = matchPairedObjects(deployedModel, currentModel, opts);
|
const currentModelPaired = matchPairedObjects(deployedModel, currentModel, opts);
|
||||||
// console.log('deployedModel', deployedModel.tables[0]);
|
// console.log('deployedModel', deployedModel.tables[0]);
|
||||||
|
|||||||
@@ -528,4 +528,6 @@ export const modelCompareDbDiffOptions: DbDiffOptions = {
|
|||||||
ignoreCase: true,
|
ignoreCase: true,
|
||||||
schemaMode: 'ignore',
|
schemaMode: 'ignore',
|
||||||
ignoreConstraintNames: true,
|
ignoreConstraintNames: true,
|
||||||
|
ignoreForeignKeyActions: true,
|
||||||
|
ignoreDataTypes: true,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
id: 'commandPalette.show',
|
id: 'commandPalette.show',
|
||||||
category: 'Command palette',
|
category: 'Command palette',
|
||||||
name: 'Show',
|
name: 'Show',
|
||||||
toolbarName: 'Menu+Search',
|
toolbarName: 'Search',
|
||||||
toolbarOrder: 0,
|
toolbarOrder: 0,
|
||||||
keyText: 'F1',
|
keyText: 'F1',
|
||||||
toolbar: true,
|
toolbar: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user