remove in second migration
This commit is contained in:
parent
e4ddf47631
commit
99e5bdcff5
|
@ -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');
|
||||||
}
|
}
|
||||||
}
|
|
||||||
};
|
};
|
Loading…
Reference in New Issue