0
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-11-22 03:07:50 +01:00
uptime-kuma/db/knex_migrations/2023-12-20-0000-alter-status-page.js

13 lines
365 B
JavaScript
Raw Normal View History

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");
});
};