mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 01:03:58 +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 generateDeploySql = require('dbgate-api/src/shell/generateDeploySql');
|
||||||
const connectUtility = require('dbgate-api/src/utility/connectUtility');
|
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);
|
const expected = databaseInfoFromYamlModel(model);
|
||||||
|
|
||||||
for (const expectedTable of expected.tables) {
|
for (const expectedTable of expected.tables) {
|
||||||
|
|||||||
Reference in New Issue
Block a user