summaryrefslogtreecommitdiffstats
path: root/db/knex_migrations/2024-10-1315-rabbitmq-monitor.js
diff options
context:
space:
mode:
Diffstat (limited to 'db/knex_migrations/2024-10-1315-rabbitmq-monitor.js')
-rw-r--r--db/knex_migrations/2024-10-1315-rabbitmq-monitor.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/db/knex_migrations/2024-10-1315-rabbitmq-monitor.js b/db/knex_migrations/2024-10-1315-rabbitmq-monitor.js
new file mode 100644
index 0000000..6a17f33
--- /dev/null
+++ b/db/knex_migrations/2024-10-1315-rabbitmq-monitor.js
@@ -0,0 +1,17 @@
+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");
+ });
+
+};