mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-21 13:47:39 +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) {
|
||||
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,
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user