summaryrefslogtreecommitdiff
path: root/lib/migrations/20161201050312-support-email-signin.js
diff options
context:
space:
mode:
authorYukai Huang2017-01-21 12:55:45 +0800
committerYukai Huang2017-01-21 12:55:45 +0800
commit74b04d08b5a4cf51ba71dd1ea12388974e74f4df (patch)
treeb9c82d9f35ab0875eadd0ce83108a100b8f4152a /lib/migrations/20161201050312-support-email-signin.js
parent93d6fe6d7cf7d49b3dcea8ffaad4d3d51beed965 (diff)
parent6e8ff3de234471375836ba907e86bf39804c308e (diff)
Merge branch 'master' into es6-integration
Diffstat (limited to '')
-rw-r--r--lib/migrations/20161201050312-support-email-signin.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/migrations/20161201050312-support-email-signin.js b/lib/migrations/20161201050312-support-email-signin.js
index bdea7c8c..b5aaf777 100644
--- a/lib/migrations/20161201050312-support-email-signin.js
+++ b/lib/migrations/20161201050312-support-email-signin.js
@@ -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');
}
};