mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
13 lines
313 B
JavaScript
13 lines
313 B
JavaScript
'use strict';
|
|
|
|
exports.up = function (db, callback) {
|
|
db.runSql(
|
|
'ALTER TABLE projects ADD COLUMN "updated_at" TIMESTAMP WITH TIME ZONE DEFAULT now();',
|
|
callback,
|
|
);
|
|
};
|
|
|
|
exports.down = function (db, callback) {
|
|
db.runSql('ALTER TABLE projects DROP COLUMN "updated_at";', callback);
|
|
};
|