gancio-upstream/server/migrations/20191116145701-followers.js
2022-06-24 15:57:12 +02:00

11 lines
280 B
JavaScript

module.exports = {
up: async (queryInterface, Sequelize) => {
await queryInterface.addColumn('fed_users', 'follower', {
type: Sequelize.BOOLEAN
})
},
down: (queryInterface, Sequelize) => {
return queryInterface.removeColumn('fed_users', 'follower')
}
}