Skip to content

Commit

Permalink
Merge branch 'sandbox' of https://github.com/betagouv/a-just into san…
Browse files Browse the repository at this point in the history
…dbox
  • Loading branch information
rzafari42 committed Jan 22, 2025
2 parents 566e4b7 + 7141223 commit 46b60b8
Show file tree
Hide file tree
Showing 7 changed files with 186 additions and 94 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const { isCa } = require("../../../utils/ca");

module.exports = {
up: async (queryInterface, Sequelize, models) => {
if (isCa()===false) {
const backupIdToRemove = await models.HRBackups.findByLabel('COPIE TJ ANNECY TEST')
if(backupIdToRemove)
await models.HRBackups.removeBackup(backupIdToRemove)
}
},
down: (/*queryInterface , Sequelize*/) => {},
};
Loading

0 comments on commit 46b60b8

Please sign in to comment.