mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-23 16:44:18 +00:00
Fix redundant parameter to removeColumn in db migration scripts
This commit is contained in:
parent
5e1d022e13
commit
6e8ff3de23
2 changed files with 3 additions and 3 deletions
|
@ -6,6 +6,6 @@ module.exports = {
|
|||
},
|
||||
|
||||
down: function (queryInterface, Sequelize) {
|
||||
queryInterface.removeColumn('Notes', 'deletedAt', Sequelize.DATE);
|
||||
queryInterface.removeColumn('Notes', 'deletedAt');
|
||||
}
|
||||
};
|
||||
|
|
|
@ -7,7 +7,7 @@ module.exports = {
|
|||
},
|
||||
|
||||
down: function (queryInterface, Sequelize) {
|
||||
queryInterface.removeColumn('Users', 'email', Sequelize.TEXT);
|
||||
queryInterface.removeColumn('Users', 'password', Sequelize.TEXT);
|
||||
queryInterface.removeColumn('Users', 'email');
|
||||
queryInterface.removeColumn('Users', 'password');
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue