remove if exists check

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

View File

@ -10,8 +10,6 @@ module.exports = {
/** @param {import('sequelize').QueryInterface} queryInterface */
async down (queryInterface, DataTypes) {
if (await queryInterface.tableExists('articles')) {
await queryInterface.dropTable('articles');
}
}
};