Updated migration warn message

no issue

- fixed typo and improved message formatting
This commit is contained in:
Daniel Lockyer 2021-02-02 09:56:59 +00:00
parent 96f6ca6218
commit 0958654457
No known key found for this signature in database
GPG Key ID: FFBC6FA2A6F6ABC1

View File

@ -45,7 +45,7 @@ function dropTables(names) {
const exists = await connection.schema.hasTable(name);
if (!exists) {
logging.warn(`Failed dropping table: ${name}. Table does not exits`);
logging.warn(`Failed to drop table: ${name} - table does not exist`);
} else {
logging.info(`Dropping table: ${name}`);
await commands.deleteTable(name, connection);