This commit is contained in:
Doruk 2025-06-25 15:21:18 +02:00
parent 38a4b60a5c
commit 60d879f131

View file

@ -1,6 +1,6 @@
exports.up = function (knex) { exports.up = function (knex) {
return knex.schema.alterTable("status_page", function (table) { return knex.schema.alterTable("status_page", function (table) {
table.smallint("heartbeat_bar_days").notNullable().defaultTo(0).checkBetween([0, 365]); table.smallint("heartbeat_bar_days").notNullable().defaultTo(0).checkBetween([ 0, 365 ]);
}); });
}; };