blob: 1f3abb1e36b002d0ecab66e2df34d08b16ba68f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
'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')
queryInterface.removeColumn('Users', 'password')
}
}
|