remove in second migration

This commit is contained in:
b1ek 2023-02-23 16:44:39 +10:00
parent e4ddf47631
commit 99e5bdcff5
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 3 deletions

View File

@ -6,8 +6,6 @@ module.exports = {
await queryInterface.createTable('guestbook', struct); await queryInterface.createTable('guestbook', struct);
}, },
async down(queryInterface, Sequelize) { async down(queryInterface, Sequelize) {
if (await queryInterface.tableExists('guestbook')) {
await queryInterface.dropTable('guestbook'); await queryInterface.dropTable('guestbook');
} }
}
}; };