deploy DB WIP

This commit is contained in:
Jan Prochazka
2021-10-05 21:52:04 +02:00
parent b332cff588
commit 57fdaf5073
3 changed files with 21 additions and 31 deletions

View File

@@ -23,6 +23,7 @@ async function testDatabaseDeploy(conn, driver, dbModelsYaml) {
driver,
loadedDbModel,
});
console.debug('Generated deploy script:', sql);
expect(sql.toUpperCase().includes('DROP ')).toBeFalsy();
await deployDb({