mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-18 23:34:04 +02:00
13 lines
No EOL
386 B
JavaScript
13 lines
No EOL
386 B
JavaScript
// Add column daily_view to monitor_group table
|
|
exports.up = function (knex) {
|
|
return knex.schema
|
|
.alterTable("monitor_group", function (table) {
|
|
table.boolean("daily_view").defaultTo(false);
|
|
});
|
|
};
|
|
|
|
exports.down = function (knex) {
|
|
return knex.schema.alterTable("monitor_group", function (table) {
|
|
table.dropColumn("daily_view");
|
|
});
|
|
};
|