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

add last-update migration to projects table

This commit is contained in:
Youssef 2021-11-30 10:40:58 +01:00
parent fb185311e0
commit 991a4a8634

View File

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