From 6e8ff3de234471375836ba907e86bf39804c308e Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Sat, 21 Jan 2017 12:53:18 +0800 Subject: Fix redundant parameter to removeColumn in db migration scripts --- lib/migrations/20161009040430-support-delete-note.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/migrations/20161009040430-support-delete-note.js') diff --git a/lib/migrations/20161009040430-support-delete-note.js b/lib/migrations/20161009040430-support-delete-note.js index f478b6fe..92ff6f7b 100644 --- a/lib/migrations/20161009040430-support-delete-note.js +++ b/lib/migrations/20161009040430-support-delete-note.js @@ -6,6 +6,6 @@ module.exports = { }, down: function (queryInterface, Sequelize) { - queryInterface.removeColumn('Notes', 'deletedAt', Sequelize.DATE); + queryInterface.removeColumn('Notes', 'deletedAt'); } }; -- cgit v1.2.3