mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
22 lines
395 B
JavaScript
22 lines
395 B
JavaScript
|
'use strict';
|
||
|
|
||
|
exports.up = function (db, callback) {
|
||
|
db.runSql(
|
||
|
`
|
||
|
ALTER table public_signup_tokens
|
||
|
ADD COLUMN IF NOT EXISTS url text
|
||
|
`,
|
||
|
callback,
|
||
|
);
|
||
|
};
|
||
|
|
||
|
exports.down = function (db, callback) {
|
||
|
db.runSql(
|
||
|
`
|
||
|
ALTER table public_signup_tokens
|
||
|
DROP COLUMN url
|
||
|
`,
|
||
|
callback,
|
||
|
);
|
||
|
};
|