mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-28 17:55:15 +02:00
chore: incoming webhooks description migration (#5803)
https://linear.app/unleash/issue/2-1822/incoming-webhooks-add-description A description field will help us better distinguish incoming webhooks and their purpose.
This commit is contained in:
parent
72f84f0381
commit
24b4e8dcb2
@ -0,0 +1,12 @@
|
|||||||
|
exports.up = function (db, cb) {
|
||||||
|
db.runSql(
|
||||||
|
`
|
||||||
|
ALTER TABLE incoming_webhooks ADD COLUMN IF NOT EXISTS description TEXT;
|
||||||
|
`,
|
||||||
|
cb,
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
exports.down = function (db, callback) {
|
||||||
|
callback();
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user