Skip to content

Commit

Permalink
Merge pull request #2 from joshbrw/master
Browse files Browse the repository at this point in the history
Using 'auth.table' config for the User Table name
  • Loading branch information
nWidart committed Dec 14, 2015
2 parents 40695f7 + adb082f commit 382c3de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function up()
$table->string('message');
$table->boolean('is_read')->default(false);
$table->timestamps();
$table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');
$table->foreign('user_id')->references('id')->on(config('auth.table', 'users'))->onDelete('cascade');
});
}

Expand Down

0 comments on commit 382c3de

Please sign in to comment.