16 lines
378 B
JavaScript
16 lines
378 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
async up (queryInterface, Sequelize) {
|
|
await queryInterface.addColumn("file_operations", "includeAttachments", {
|
|
type: Sequelize.BOOLEAN,
|
|
allowNull: false,
|
|
defaultValue: true,
|
|
});
|
|
},
|
|
|
|
async down (queryInterface, Sequelize) {
|
|
await queryInterface.removeColumn("file_operations", "includeAttachments");
|
|
}
|
|
};
|