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.
18 lines
479 B
18 lines
479 B
1 month ago
|
exports.up = function (knex) {
|
||
|
return knex.schema.alterTable("monitor", function (table) {
|
||
|
table.text("rabbitmq_nodes");
|
||
|
table.string("rabbitmq_username");
|
||
|
table.string("rabbitmq_password");
|
||
|
});
|
||
|
|
||
|
};
|
||
|
|
||
|
exports.down = function (knex) {
|
||
|
return knex.schema.alterTable("monitor", function (table) {
|
||
|
table.dropColumn("rabbitmq_nodes");
|
||
|
table.dropColumn("rabbitmq_username");
|
||
|
table.dropColumn("rabbitmq_password");
|
||
|
});
|
||
|
|
||
|
};
|