This commit is contained in:
Doruk 2025-06-25 15:11:09 +02:00
parent 1514cbd984
commit d07575bbdb

View file

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