codimd/lib/migrations/20161201050312-support-emai...

13 lines
368 B
JavaScript
Raw Normal View History

'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')
}
}