Skip to content

Commit

Permalink
fixed foreign keys
Browse files Browse the repository at this point in the history
  • Loading branch information
innoflash committed Apr 13, 2020
1 parent 56d0e9e commit ac51c18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -26,7 +26,7 @@ public function up()
$table->string('video_url')->nullable();
$table->timestamps();

$table->foreign('ministry_id')->references('id')->on('ministries')->onDelete('cascade');
$table->foreign('ministry_id')->references('id')->on('fg_ministries')->onDelete('cascade');
});
}

Expand Down
Expand Up @@ -20,7 +20,7 @@ public function up()
$table->string('name');
$table->timestamps();

$table->foreign('event_id')->references('id')->on('events')->onDelete('cascade');
$table->foreign('event_id')->references('id')->on('fg_events')->onDelete('cascade');
});
}

Expand Down

0 comments on commit ac51c18

Please sign in to comment.