1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-28 19:06:12 +01:00

feat: archived at column in projects (#7782)

This commit is contained in:
Mateusz Kwasniewski 2024-08-07 10:00:37 +02:00 committed by GitHub
parent bb84ef21ad
commit 74de3ea72e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,19 @@
'use strict';
exports.up = function (db, callback) {
db.runSql(
`
ALTER TABLE projects ADD archived_at TIMESTAMP WITH TIME ZONE;
`,
callback,
);
};
exports.down = function (db, callback) {
db.runSql(
`
ALTER TABLE projects DROP COLUMN archived_at;
`,
callback,
);
};