diff --git a/src/migrations/20211130142314-add-updated-at-to-projects.js b/src/migrations/20211130142314-add-updated-at-to-projects.js index 016d43ab0e..358c3c9d3e 100644 --- a/src/migrations/20211130142314-add-updated-at-to-projects.js +++ b/src/migrations/20211130142314-add-updated-at-to-projects.js @@ -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, ); };