mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
13 lines
314 B
JavaScript
13 lines
314 B
JavaScript
|
'use strict';
|
||
|
|
||
|
exports.up = function(db, callback) {
|
||
|
db.runSql(
|
||
|
'ALTER TABLE feature_types ADD "created_at" TIMESTAMP WITH TIME ZONE default now();',
|
||
|
callback,
|
||
|
);
|
||
|
};
|
||
|
|
||
|
exports.down = function(db, callback) {
|
||
|
db.runSql('ALTER TABLE feature_types DROP COLUMN "created_at";', callback);
|
||
|
};
|