mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
12 lines
296 B
JavaScript
12 lines
296 B
JavaScript
module.exports = {
|
|
up: (queryInterface, Sequelize) => {
|
|
return queryInterface.addColumn('comments', 'hidden', {
|
|
type: Sequelize.BOOLEAN,
|
|
defaultValue: false
|
|
})
|
|
},
|
|
|
|
down: (queryInterface, Sequelize) => {
|
|
return queryInterface.removeColumn('comments', 'hidden')
|
|
}
|
|
}
|