mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 03:16:01 +00:00
import models tests fixed
This commit is contained in:
@@ -36,6 +36,10 @@ class Dumper extends SqlDumper {
|
||||
}
|
||||
super.createTablePrimaryKeyCore(table);
|
||||
}
|
||||
|
||||
enableAllForeignKeys(enabled) {
|
||||
this.putCmd('^pragma ^foreign_keys = %s', enabled ? 'on' : 'off');
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Dumper;
|
||||
|
||||
@@ -30,11 +30,13 @@ const dialect = {
|
||||
createIndex: true,
|
||||
dropIndex: true,
|
||||
createForeignKey: false,
|
||||
enableForeignKeyChecks: false,
|
||||
dropForeignKey: false,
|
||||
createPrimaryKey: false,
|
||||
dropPrimaryKey: false,
|
||||
dropReferencesWhenDropTable: false,
|
||||
filteredIndexes: true,
|
||||
anonymousForeignKey: true,
|
||||
};
|
||||
|
||||
/** @type {import('dbgate-types').EngineDriver} */
|
||||
|
||||
Reference in New Issue
Block a user