Files
outline/server/migrations/20230720002422-add-insights-control.js

16 lines
360 B
JavaScript

'use strict';
module.exports = {
async up (queryInterface, Sequelize) {
await queryInterface.addColumn("documents", "insightsEnabled", {
type: Sequelize.BOOLEAN,
allowNull: false,
defaultValue: true,
});
},
async down (queryInterface, Sequelize) {
await queryInterface.removeColumn("documents", "insightsEnabled");
}
};