This commit is contained in:
Jan Prochazka 2024-10-31 08:45:12 +01:00
parent 1d916e43d5
commit bdc40c2c02

View File

@ -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) {