mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-18 23:34:04 +02:00
smallint
This commit is contained in:
parent
1514cbd984
commit
d07575bbdb
1 changed files with 1 additions and 1 deletions
|
@ -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.integer("heartbeat_bar_days").notNullable().defaultTo(0);
|
table.smallint("heartbeat_bar_days").notNullable().defaultTo(0).checkBetween([0, 365]);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue