mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
22 lines
419 B
JavaScript
22 lines
419 B
JavaScript
|
'use strict';
|
||
|
|
||
|
exports.up = function (db, callback) {
|
||
|
db.runSql(
|
||
|
`
|
||
|
ALTER table public_signup_tokens
|
||
|
ADD COLUMN IF NOT EXISTS enabled boolean DEFAULT true
|
||
|
`,
|
||
|
callback,
|
||
|
);
|
||
|
};
|
||
|
|
||
|
exports.down = function (db, callback) {
|
||
|
db.runSql(
|
||
|
`
|
||
|
ALTER table public_signup_tokens
|
||
|
DROP COLUMN enabled
|
||
|
`,
|
||
|
callback,
|
||
|
);
|
||
|
};
|