mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-03 03:07:02 +00:00
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Frank Elsinga <frank@elsinga.de> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
12 lines
316 B
JavaScript
12 lines
316 B
JavaScript
exports.up = function (knex) {
|
|
return knex.schema.alterTable("heartbeat", function (table) {
|
|
table.text("response").nullable().defaultTo(null);
|
|
});
|
|
};
|
|
|
|
exports.down = function (knex) {
|
|
return knex.schema.alterTable("heartbeat", function (table) {
|
|
table.dropColumn("response");
|
|
});
|
|
};
|