mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-06-23 04:10:14 +00:00
0f61d7ee1b
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
13 lines
357 B
JavaScript
13 lines
357 B
JavaScript
exports.up = function (knex) {
|
|
// Add new column heartbeat.retries
|
|
return knex.schema.alterTable("heartbeat", function (table) {
|
|
table.integer("retries").notNullable().defaultTo(0);
|
|
});
|
|
};
|
|
|
|
exports.down = function (knex) {
|
|
return knex.schema.alterTable("heartbeat", function (table) {
|
|
table.dropColumn("retries");
|
|
});
|
|
};
|