This commit is contained in:
cyril59310 2025-05-04 18:41:59 +02:00
parent 5b20133eb4
commit eecb8c809e
2 changed files with 7 additions and 7 deletions

View file

@ -1,11 +1,11 @@
exports.up = function (knex) {
return knex.schema.alterTable("notification", function (table) {
table.boolean("disable_url").defaultTo(false).notNullable().comment("Disable URL in Discord notifications");
table.boolean("disableUrl").defaultTo(false).notNullable().comment("Disable URL in Discord notifications");
});
};
exports.down = function (knex) {
return knex.schema.alterTable("notification", function (table) {
table.dropColumn("disable_url");
table.dropColumn("disableUrl");
});
};