1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/src/migrations/20210928065411-remove-displayname-from-environments.js

18 lines
300 B
JavaScript
Raw Normal View History

'use strict';
exports.up = function (db, cb) {
db.runSql(
`ALTER TABLE environments
DROP COLUMN display_name`,
cb,
);
};
exports.down = function (db, cb) {
db.runSql(
`ALTER TABLE environments
ADD COLUMN display_name TEXT`,
cb,
);
};