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
502 B
16 lines
502 B
exports.up = function (knex) {
|
|
return knex.schema
|
|
.alterTable("status_page", function (table) {
|
|
table.boolean("show_locale_selector").notNullable().defaultTo(false);
|
|
table.string("default_locale").nullable().defaultTo("");
|
|
});
|
|
};
|
|
|
|
exports.down = function (knex) {
|
|
return knex.schema
|
|
.alterTable("status_page", function (table) {
|
|
table.dropColumn("default_locale");
|
|
table.dropColumn("show_locale_selector");
|
|
});
|
|
};
|