mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-26 13:48:33 +02:00
fix: add timestamp on project creation for update_at column
This commit is contained in:
parent
00f5740d18
commit
26c9bfa3c8
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
exports.up = function (db, callback) {
|
exports.up = function (db, callback) {
|
||||||
db.runSql(
|
db.runSql(
|
||||||
'ALTER TABLE projects ADD COLUMN "updated_at" TIMESTAMP WITH TIME ZONE',
|
'ALTER TABLE projects ADD COLUMN "updated_at" TIMESTAMP WITH TIME ZONE DEFAULT now();',
|
||||||
callback,
|
callback,
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user