mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 12:13:57 +00:00
test fix
This commit is contained in:
parent
1d916e43d5
commit
bdc40c2c02
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user