WIP: Road to 1.0.0 #1

Draft
miguel456 wants to merge 123 commits from develop into master
1 changed files with 3 additions and 5 deletions
Showing only changes of commit 551741c687 - Show all commits

View File

@ -15,13 +15,11 @@ class AddTeamAssocToVacancies extends Migration
{ {
Schema::table('vacancies', function (Blueprint $table) { Schema::table('vacancies', function (Blueprint $table) {
$table->bigInteger('ownerTeamID')->unsigned()->after('vacancyFormID'); $table->integer('ownerTeamID')->unsigned()->after('vacancyFormID');
$table->foreign('ownerTeamID') $table->foreign('ownerTeamID')
->references('team_id') ->references('id')
->on('teams') ->on('teams');
->onDelete('cascade')
->onUpdate('cascade');
}); });
} }