gancio-upstream/server/migrations/20191111195639-user_blocked.js

11 lines
306 B
JavaScript

'use strict'
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.addColumn('fed_users', 'blocked', { type: Sequelize.BOOLEAN })
},
down: (queryInterface, Sequelize) => {
return queryInterface.removeColumn('fed_users', 'blocked', { type: Sequelize.BOOLEAN })
}
}