diff --git a/migrations/20241021211045-DEVSU-2473-hide-sv-burden-by-default.js b/migrations/20241021211045-DEVSU-2473-hide-sv-burden-by-default.js new file mode 100644 index 000000000..92d507e63 --- /dev/null +++ b/migrations/20241021211045-DEVSU-2473-hide-sv-burden-by-default.js @@ -0,0 +1,22 @@ +const TABLE = 'reports_mutation_burden'; + +module.exports = { + async up(queryInterface, Sq) { + return queryInterface.sequelize.transaction(async (transaction) => { + await queryInterface.addColumn( + TABLE, + 'sv_burden_hidden', + { + type: Sq.BOOLEAN, + defaultValue: false, + allowNull: false, + }, + {transaction}, + ); + }); + }, + + async down() { + throw new Error('Not Implemented!'); + }, +};