summaryrefslogtreecommitdiff
path: root/lib/migrations/20161201050312-support-email-signin.js
blob: bdea7c8c97e9fa32f34a9ce64b08dcde633321c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
'use strict';

module.exports = {
  up: function (queryInterface, Sequelize) {
    queryInterface.addColumn('Users', 'email', Sequelize.TEXT);
    queryInterface.addColumn('Users', 'password', Sequelize.TEXT);
  },

  down: function (queryInterface, Sequelize) {
    queryInterface.removeColumn('Users', 'email', Sequelize.TEXT);
    queryInterface.removeColumn('Users', 'password', Sequelize.TEXT);
  }
};