1
0
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:
Mateusz Kwasniewski 2025-10-03 13:38:32 +02:00 committed by GitHub
parent 3ef2a7f93b
commit f670505e56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View 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,
);
};