Skip to content

Commit

Permalink
Update database/migrations/2025_01_09_143607_database_host_node_forei…
Browse files Browse the repository at this point in the history
…gn_delete_cascade.php


Remove migration rollback

Co-authored-by: MartinOscar <[email protected]>
  • Loading branch information
PseudoResonance and RMartinOscar authored Jan 9, 2025
1 parent 1ed1e97 commit 5ae9084
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
}
};

0 comments on commit 5ae9084

Please sign in to comment.