mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 11:16:01 +00:00
test fix
This commit is contained in:
@@ -8,7 +8,7 @@ const { databaseInfoFromYamlModel } = require('dbgate-tools');
|
||||
const generateDeploySql = require('dbgate-api/src/shell/generateDeploySql');
|
||||
const connectUtility = require('dbgate-api/src/utility/connectUtility');
|
||||
|
||||
function checkStructure(structure, model, { checkRenameDeletedObjects = false, disallowExtraObjects = false }) {
|
||||
function checkStructure(structure, model, { checkRenameDeletedObjects = false, disallowExtraObjects = false } = {}) {
|
||||
const expected = databaseInfoFromYamlModel(model);
|
||||
|
||||
for (const expectedTable of expected.tables) {
|
||||
|
||||
Reference in New Issue
Block a user