uptime-kuma/db/knex_migrations/2024-08-24-000-add-cache-bust.js

14 lines
357 B
JavaScript
Raw Normal View History

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