mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-26 22:19:43 -08:00
14 lines
357 B
JavaScript
14 lines
357 B
JavaScript
|
exports.up = function (knex) {
|
||
|
return knex.schema
|
||
|
.alterTable("monitor", function (table) {
|
||
|
table.boolean("cache_bust").notNullable().defaultTo(false);
|
||
|
});
|
||
|
};
|
||
|
|
||
|
exports.down = function (knex) {
|
||
|
return knex.schema
|
||
|
.alterTable("monitor", function (table) {
|
||
|
table.dropColumn("cache_bust");
|
||
|
});
|
||
|
};
|