1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-03-23 00:16:25 +01:00

chore: migration for new archive columns on release defintion (#9412)

This commit is contained in:
David Leek 2025-03-04 14:36:30 +01:00 committed by GitHub
parent d04b8496ea
commit 2ae447cd40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,11 @@
exports.up = (db, cb) => {
db.runSql(`
ALTER TABLE release_plan_definitions ADD COLUMN archived_at TIMESTAMP WITH TIME ZONE;
`, cb);
};
exports.down = (db, cb) => {
db.runSql(`
ALTER TABLE release_plan_definitions DROP COLUMN archived_at;
`, cb);
};