Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Frank Elsinga <frank@elsinga.de>
12 lines
342 B
JavaScript
12 lines
342 B
JavaScript
exports.up = function (knex) {
|
|
return knex.schema.alterTable("monitor", function (table) {
|
|
table.integer("screenshot_delay").notNullable().unsigned().defaultTo(0);
|
|
});
|
|
};
|
|
|
|
exports.down = function (knex) {
|
|
return knex.schema.alterTable("monitor", function (table) {
|
|
table.dropColumn("screenshot_delay");
|
|
});
|
|
};
|