From 5ae90848676cd73b6769a077cedb22d47b4f6e13 Mon Sep 17 00:00:00 2001 From: Josh <2635f0d1-2818-4dac-aae0-7043ff60c14e@otake.pw> Date: Thu, 9 Jan 2025 07:11:12 -0800 Subject: [PATCH] Update database/migrations/2025_01_09_143607_database_host_node_foreign_delete_cascade.php Remove migration rollback Co-authored-by: MartinOscar <40749467+RMartinOscar@users.noreply.github.com> --- ...01_09_143607_database_host_node_foreign_delete_cascade.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/database/migrations/2025_01_09_143607_database_host_node_foreign_delete_cascade.php b/database/migrations/2025_01_09_143607_database_host_node_foreign_delete_cascade.php index f0293fd37a..cc61795c57 100644 --- a/database/migrations/2025_01_09_143607_database_host_node_foreign_delete_cascade.php +++ b/database/migrations/2025_01_09_143607_database_host_node_foreign_delete_cascade.php @@ -22,9 +22,5 @@ public function up(): void */ public function down(): void { - Schema::table('database_host_node', function (Blueprint $table) { - $table->dropForeign(['database_host_id']); - $table->foreign('database_host_id')->references('id')->on('database_hosts')->noActionOnDelete(); - }); } };