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(); - }); } };