Skip to content

Commit

Permalink
feat: migration for svBurdenHidden for mutation-burden
Browse files Browse the repository at this point in the history
DEVSU-2473
  • Loading branch information
kttkjl committed Oct 21, 2024
1 parent 898753c commit 63f1282
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions migrations/20241021211045-DEVSU-2473-hide-sv-burden-by-default.js
Original file line number Diff line number Diff line change
@@ -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!');
},
};

0 comments on commit 63f1282

Please sign in to comment.