Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaanus committed Mar 5, 2024
1 parent e8284c6 commit 2620423
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/migrations/20240305094305-features-remove-archived.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,12 @@ exports.up = function (db, cb) {
cb,
);
};

exports.down = function (db, cb) {
db.runSql(
`
ALTER TABLE features ADD COLUMN IF NOT EXISTS archived BOOLEAN DEFAULT FALSE;
`,
cb,
);
};

0 comments on commit 2620423

Please sign in to comment.