From 514d961c24616c1e8960574eb9848c5e3e8becac Mon Sep 17 00:00:00 2001 From: Boy132 Date: Mon, 7 Jul 2025 08:37:45 +0200 Subject: [PATCH] Add migration to match node ports (#1489) --- .../2025_07_06_213447_match-node-port.php | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 database/migrations/2025_07_06_213447_match-node-port.php diff --git a/database/migrations/2025_07_06_213447_match-node-port.php b/database/migrations/2025_07_06_213447_match-node-port.php new file mode 100644 index 000000000..b3909c162 --- /dev/null +++ b/database/migrations/2025_07_06_213447_match-node-port.php @@ -0,0 +1,29 @@ +get(); + foreach ($nodes as $node) { + $node->update(['daemon_connect' => $node->daemon_listen]); + } + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + // Not needed + } +};