1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +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:
Nuno Góis 2024-01-09 10:39:51 +00:00 committed by GitHub
parent 72f84f0381
commit 24b4e8dcb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
};