mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-05-19 21:52:35 +02:00
12 lines
355 B
JavaScript
12 lines
355 B
JavaScript
// ALTER TABLE monitor ADD description TEXT default null;
|
|
exports.up = function (knex) {
|
|
return knex.schema.table("monitor", function (table) {
|
|
table.text("description").defaultTo(null);
|
|
});
|
|
};
|
|
|
|
exports.down = function (knex) {
|
|
return knex.schema.table("monitor", function (table) {
|
|
table.dropColumn("description");
|
|
});
|
|
};
|