summaryrefslogtreecommitdiff
path: root/lib/migrations/20161009040430-support-delete-note.js
diff options
context:
space:
mode:
authorYukai Huang2017-03-13 21:32:50 +0800
committerYukai Huang2017-03-13 21:32:50 +0800
commit93e41f3a40394f061ca81c8ce119c85611173621 (patch)
tree20a81f7e77263e05b3d28304f72f4f224d931b0e /lib/migrations/20161009040430-support-delete-note.js
parent9b513f619fe74a579fadd807f86bd38f1049c56b (diff)
parentedb1b4aa0a72ac8b0215211c9dbc54156c3ff91f (diff)
Merge branch 'master' into cm-refactor
Diffstat (limited to '')
-rw-r--r--lib/migrations/20161009040430-support-delete-note.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/migrations/20161009040430-support-delete-note.js b/lib/migrations/20161009040430-support-delete-note.js
index 92ff6f7b..984920b8 100644
--- a/lib/migrations/20161009040430-support-delete-note.js
+++ b/lib/migrations/20161009040430-support-delete-note.js
@@ -1,11 +1,9 @@
-'use strict';
-
module.exports = {
up: function (queryInterface, Sequelize) {
- queryInterface.addColumn('Notes', 'deletedAt', Sequelize.DATE);
+ queryInterface.addColumn('Notes', 'deletedAt', Sequelize.DATE)
},
down: function (queryInterface, Sequelize) {
- queryInterface.removeColumn('Notes', 'deletedAt');
+ queryInterface.removeColumn('Notes', 'deletedAt')
}
-};
+}