mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-05-24 15:52:33 +02:00
fix
This commit is contained in:
parent
eecb8c809e
commit
7b9bad1953
1 changed files with 2 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
|||
exports.up = function (knex) {
|
||||
return knex.schema.alterTable("notification", function (table) {
|
||||
table.boolean("disableUrl").defaultTo(false).notNullable().comment("Disable URL in Discord notifications");
|
||||
table.boolean("disable_url").defaultTo(false).notNullable().comment("Disable URL in Discord notifications");
|
||||
});
|
||||
};
|
||||
|
||||
exports.down = function (knex) {
|
||||
return knex.schema.alterTable("notification", function (table) {
|
||||
table.dropColumn("disableUrl");
|
||||
table.dropColumn("disable_url");
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue