This commit is contained in:
cyril59310 2025-05-04 18:49:48 +02:00
parent eecb8c809e
commit 7b9bad1953

View file

@ -1,11 +1,11 @@
exports.up = function (knex) { exports.up = function (knex) {
return knex.schema.alterTable("notification", function (table) { 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) { exports.down = function (knex) {
return knex.schema.alterTable("notification", function (table) { return knex.schema.alterTable("notification", function (table) {
table.dropColumn("disableUrl"); table.dropColumn("disable_url");
}); });
}; };