You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
500 B
16 lines
500 B
exports.up = function (knex) {
|
|
// Add new column status_page.hide_uptime_percentage
|
|
return knex.schema
|
|
.alterTable("status_page", function (table) {
|
|
table.boolean("hide_uptime_percentage").notNullable().defaultTo(false);
|
|
});
|
|
|
|
};
|
|
|
|
exports.down = function (knex) {
|
|
// Drop column status_page.hide_uptime_percentage
|
|
return knex.schema
|
|
.alterTable("status_page", function (table) {
|
|
table.dropColumn("hide_uptime_percentage");
|
|
});
|
|
}; |