mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
ff7be7696c
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
25 lines
432 B
JavaScript
25 lines
432 B
JavaScript
'use strict';
|
|
|
|
exports.up = function (db, cb) {
|
|
db.runSql(
|
|
`
|
|
ALTER TABLE client_applications ADD COLUMN announced boolean DEFAULT false;
|
|
UPDATE client_applications SET announced = true;
|
|
`,
|
|
cb,
|
|
);
|
|
};
|
|
|
|
exports.down = function (db, cb) {
|
|
db.runSql(
|
|
`
|
|
ALTER TABLE client_applications DROP COLUMN announced;
|
|
`,
|
|
cb,
|
|
);
|
|
};
|
|
|
|
exports._meta = {
|
|
version: 1,
|
|
};
|