mirror of
https://framagit.org/les/gancio.git
synced 2025-02-01 09:02:01 +01:00
12 lines
280 B
JavaScript
12 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')
|
||
|
}
|
||
|
}
|