Skip to content

Commit

Permalink
chore: incoming webhooks description migration (#5803)
Browse files Browse the repository at this point in the history
https://linear.app/unleash/issue/2-1822/incoming-webhooks-add-description

A description field will help us better distinguish incoming webhooks
and their purpose.
  • Loading branch information
nunogois committed Jan 9, 2024
1 parent 72f84f0 commit 24b4e8d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/migrations/20240109093021-incoming-webhooks-description.js
@@ -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();
};

0 comments on commit 24b4e8d

Please sign in to comment.