1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-11-10 01:19:53 +01:00

feat: milestone executed at migration (#10767)

This commit is contained in:
Mateusz Kwasniewski 2025-10-09 10:33:08 +02:00 committed by GitHub
parent 386c7d5bc6
commit 97297dd40f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,19 @@
exports.up = function(db, cb) {
db.runSql(
`
ALTER TABLE milestone_progressions
ADD COLUMN executed_at TIMESTAMP WITH TIME ZONE;
`,
cb,
);
};
exports.down = function(db, cb) {
db.runSql(
`
ALTER TABLE milestone_progressions
DROP COLUMN IF EXISTS executed_at;
`,
cb,
);
};