You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
479 B
20 lines
479 B
/**
|
|
* @param {import("knex").Knex} knex Database connection
|
|
* @returns {Promise<void>}
|
|
*/
|
|
exports.up = async (knex) => {
|
|
await knex.schema.alterTable("monitor", (table) => {
|
|
table.string("local_service_name");
|
|
});
|
|
};
|
|
|
|
/**
|
|
* @param {import("knex").Knex} knex Database connection
|
|
* @returns {Promise<void>}
|
|
*/
|
|
exports.down = async (knex) => {
|
|
await knex.schema.alterTable("monitor", (table) => {
|
|
table.dropColumn("local_service_name");
|
|
});
|
|
};
|