Skip to content

Commit

Permalink
Passing Engine Variable
Browse files Browse the repository at this point in the history
  • Loading branch information
erkurn committed Mar 27, 2018
1 parent e0f354e commit 9f5939b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function up()
{
$table = config('locanesia.db_table');
$engine = config('locanesia.engine');
Schema::create($table, function (Blueprint $table) {
Schema::create($table, function (Blueprint $table) use ($engine) {
$table->increments('id');
$table->char('kodepos', 10);
$table->string('kelurahan');
Expand Down

0 comments on commit 9f5939b

Please sign in to comment.