Add option to pass cache bust param (#3525)

Co-authored-by: Dan Sullivan <dan@symbiosgroup.co.uk>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
Dan Sullivan
2024-08-24 21:57:31 +01:00
committed by GitHub
parent 4cb264afca
commit dc3ad88fe1
5 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
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");
});
};