Skip to content

Commit

Permalink
1-3131: format nicely
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasheartman committed Nov 19, 2024
1 parent 16cff28 commit b49526e
Showing 1 changed file with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,23 @@
exports.up = function (db, cb) {
db.runSql(
`
UPDATE features SET potentially_stale = FALSE WHERE potentially_stale IS NULL;
ALTER TABLE features ALTER COLUMN potentially_stale SET NOT NULL;
UPDATE features
SET potentially_stale = FALSE
WHERE potentially_stale IS NULL;
ALTER TABLE features
ALTER COLUMN potentially_stale SET NOT NULL;
`,
cb,
cb
);
};

exports.down = function (db, cb) {
db.runSql(
`
ALTER TABLE features ALTER COLUMN potentially_stale DROP NOT NULL;
ALTER TABLE features
ALTER COLUMN potentially_stale DROP NOT NULL;
`,
cb,
cb
);
};

};

0 comments on commit b49526e

Please sign in to comment.