mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-27 11:02:16 +01:00
feat: milestones started at migration (#10729)
This commit is contained in:
parent
3ef2a7f93b
commit
f670505e56
13
src/migrations/20251003105758-add-milestone-started-at.js
Normal file
13
src/migrations/20251003105758-add-milestone-started-at.js
Normal file
@ -0,0 +1,13 @@
|
||||
exports.up = function(db, cb) {
|
||||
db.runSql(
|
||||
`ALTER TABLE milestones ADD COLUMN IF NOT EXISTS started_at TIMESTAMP WITH TIME ZONE;`,
|
||||
cb,
|
||||
);
|
||||
};
|
||||
|
||||
exports.down = function(db, cb) {
|
||||
db.runSql(
|
||||
`ALTER TABLE milestones DROP COLUMN IF EXISTS started_at;`,
|
||||
cb,
|
||||
);
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user