mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
138d303da4
Renames `secret` to `token` in `incoming_webhook_tokens` for consistency. This table is not being used yet, so this should be a very safe change.
18 lines
335 B
JavaScript
18 lines
335 B
JavaScript
exports.up = function (db, cb) {
|
|
db.runSql(
|
|
`
|
|
ALTER TABLE incoming_webhook_tokens RENAME COLUMN secret TO token;
|
|
`,
|
|
cb,
|
|
);
|
|
};
|
|
|
|
exports.down = function (db, cb) {
|
|
db.runSql(
|
|
`
|
|
ALTER TABLE incoming_webhook_tokens RENAME COLUMN token TO secret;
|
|
`,
|
|
cb,
|
|
);
|
|
};
|