remove if exists check
This commit is contained in:
parent
3e18743720
commit
e4ddf47631
|
@ -10,8 +10,6 @@ module.exports = {
|
||||||
|
|
||||||
/** @param {import('sequelize').QueryInterface} queryInterface */
|
/** @param {import('sequelize').QueryInterface} queryInterface */
|
||||||
async down (queryInterface, DataTypes) {
|
async down (queryInterface, DataTypes) {
|
||||||
if (await queryInterface.tableExists('articles')) {
|
await queryInterface.dropTable('articles');
|
||||||
await queryInterface.dropTable('articles');
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue