@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | { |
| 21 | 21 | $this->builder->table( |
| 22 | 22 | $this->table, |
| 23 | - function ($table) { |
|
| 23 | + function($table) { |
|
| 24 | 24 | $table->bigInteger('language_id')->unsigned()->nullable()->index(); |
| 25 | 25 | } |
| 26 | 26 | ); |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | { |
| 36 | 36 | $this->builder->table( |
| 37 | 37 | $this->table, |
| 38 | - function ($table) { |
|
| 38 | + function($table) { |
|
| 39 | 39 | $table->dropColumn('language_id'); |
| 40 | 40 | } |
| 41 | 41 | ); |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | $this->builder->create( |
| 22 | 22 | $this->table, |
| 23 | - function ($table) { |
|
| 23 | + function($table) { |
|
| 24 | 24 | $table->bigIncrements('id'); |
| 25 | 25 | |
| 26 | 26 | $table->bigInteger('route_id')->unsigned()->index(); |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | $this->builder->create( |
| 22 | 22 | $this->table, |
| 23 | - function ($table) { |
|
| 23 | + function($table) { |
|
| 24 | 24 | $table->bigIncrements('id'); |
| 25 | 25 | |
| 26 | 26 | $table->bigInteger('referer_id')->unsigned()->index(); |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | try { |
| 22 | 22 | $this->builder->table( |
| 23 | 23 | $this->table, |
| 24 | - function ($table) { |
|
| 24 | + function($table) { |
|
| 25 | 25 | $table->string('code')->nullable()->change(); |
| 26 | 26 | } |
| 27 | 27 | ); |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | $this->builder->create( |
| 22 | 22 | $this->table, |
| 23 | - function ($table) { |
|
| 23 | + function($table) { |
|
| 24 | 24 | $table->bigIncrements('id'); |
| 25 | 25 | |
| 26 | 26 | $table->bigInteger('domain_id')->unsigned()->index(); |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | $this->builder->create( |
| 22 | 22 | $this->table, |
| 23 | - function ($table) { |
|
| 23 | + function($table) { |
|
| 24 | 24 | $table->bigIncrements('id'); |
| 25 | 25 | |
| 26 | 26 | $table->string('name')->unique(); |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | $this->builder->create( |
| 22 | 22 | $this->table, |
| 23 | - function ($table) { |
|
| 23 | + function($table) { |
|
| 24 | 24 | $table->bigIncrements('id'); |
| 25 | 25 | |
| 26 | 26 | $table->string('code')->index(); |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | { |
| 21 | 21 | $this->builder->create( |
| 22 | 22 | $this->table, |
| 23 | - function ($table) { |
|
| 23 | + function($table) { |
|
| 24 | 24 | $table->bigIncrements('id'); |
| 25 | 25 | |
| 26 | 26 | $table->double('latitude')->nullable()->index(); |
@@ -22,14 +22,14 @@ discard block |
||
| 22 | 22 | { |
| 23 | 23 | $this->builder->table( |
| 24 | 24 | $this->table, |
| 25 | - function ($table) { |
|
| 25 | + function($table) { |
|
| 26 | 26 | $table->string('medium')->nullable()->index(); |
| 27 | 27 | $table->string('source')->nullable()->index(); |
| 28 | 28 | $table->string('search_terms_hash')->nullable()->index(); |
| 29 | 29 | } |
| 30 | 30 | ); |
| 31 | 31 | |
| 32 | - $this->builder->table($this->foreign, function ($table) { |
|
| 32 | + $this->builder->table($this->foreign, function($table) { |
|
| 33 | 33 | $table->foreign('referer_id', 'tracker_referers_referer_id_fk') |
| 34 | 34 | ->references('id') |
| 35 | 35 | ->on('tracker_referers') |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | { |
| 48 | 48 | $this->builder->table( |
| 49 | 49 | $this->table, |
| 50 | - function ($table) { |
|
| 50 | + function($table) { |
|
| 51 | 51 | $table->dropColumn('medium'); |
| 52 | 52 | $table->dropColumn('source'); |
| 53 | 53 | $table->dropColumn('search_terms_hash'); |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | |
| 57 | 57 | $this->builder->table( |
| 58 | 58 | $this->foreign, |
| 59 | - function ($table) { |
|
| 59 | + function($table) { |
|
| 60 | 60 | $table->dropForeign('tracker_referers_referer_id_fk'); |
| 61 | 61 | } |
| 62 | 62 | ); |