mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-29 01:06:14 -05:00
e856cb6007
Co-authored-by: Frank Elsinga <frank@elsinga.de>
13 lines
365 B
JavaScript
13 lines
365 B
JavaScript
exports.up = function (knex) {
|
|
return knex.schema
|
|
.alterTable("status_page", function (table) {
|
|
table.integer("auto_refresh_interval").defaultTo(300).unsigned();
|
|
});
|
|
};
|
|
|
|
exports.down = function (knex) {
|
|
return knex.schema.alterTable("status_page", function (table) {
|
|
table.dropColumn("auto_refresh_interval");
|
|
});
|
|
};
|