@@ -8,7 +8,7 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public function up() |
| 10 | 10 | { |
| 11 | - Schema::create('bedard_shop_category_product', function (Blueprint $table) { |
|
| 11 | + Schema::create('bedard_shop_category_product', function(Blueprint $table) { |
|
| 12 | 12 | $table->engine = 'InnoDB'; |
| 13 | 13 | $table->integer('category_id')->unsigned()->nullable(); |
| 14 | 14 | $table->integer('product_id')->unsigned()->nullable(); |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public function up() |
| 10 | 10 | { |
| 11 | - Schema::create('bedard_shop_cart_items', function (Blueprint $table) { |
|
| 11 | + Schema::create('bedard_shop_cart_items', function(Blueprint $table) { |
|
| 12 | 12 | $table->engine = 'InnoDB'; |
| 13 | 13 | $table->increments('id'); |
| 14 | 14 | $table->integer('cart_id')->unsigned()->index(); |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public function up() |
| 10 | 10 | { |
| 11 | - Schema::create('bedard_shop_options', function (Blueprint $table) { |
|
| 11 | + Schema::create('bedard_shop_options', function(Blueprint $table) { |
|
| 12 | 12 | $table->engine = 'InnoDB'; |
| 13 | 13 | $table->increments('id'); |
| 14 | 14 | $table->integer('product_id')->unsigned()->nullable()->index(); |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | { |
| 41 | 41 | $self = $this->getTable().'.*'; |
| 42 | 42 | |
| 43 | - if (! in_array($self, $query->getQuery()->columns)) { |
|
| 43 | + if (!in_array($self, $query->getQuery()->columns)) { |
|
| 44 | 44 | $query->addSelect($self); |
| 45 | 45 | } |
| 46 | 46 | |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public function up() |
| 10 | 10 | { |
| 11 | - Schema::create('bedard_shop_driver_configs', function (Blueprint $table) { |
|
| 11 | + Schema::create('bedard_shop_driver_configs', function(Blueprint $table) { |
|
| 12 | 12 | $table->engine = 'InnoDB'; |
| 13 | 13 | $table->increments('id'); |
| 14 | 14 | $table->string('class')->default(''); |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public function up() |
| 10 | 10 | { |
| 11 | - Schema::create('bedard_shop_inventories', function (Blueprint $table) { |
|
| 11 | + Schema::create('bedard_shop_inventories', function(Blueprint $table) { |
|
| 12 | 12 | $table->engine = 'InnoDB'; |
| 13 | 13 | $table->increments('id'); |
| 14 | 14 | $table->integer('product_id')->unsigned()->nullable()->index(); |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public function up() |
| 10 | 10 | { |
| 11 | - Schema::create('bedard_shop_option_values', function (Blueprint $table) { |
|
| 11 | + Schema::create('bedard_shop_option_values', function(Blueprint $table) { |
|
| 12 | 12 | $table->engine = 'InnoDB'; |
| 13 | 13 | $table->increments('id'); |
| 14 | 14 | $table->integer('option_id')->unsigned()->nullable()->index(); |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public function up() |
| 10 | 10 | { |
| 11 | - Schema::create('bedard_shop_categories', function (Blueprint $table) { |
|
| 11 | + Schema::create('bedard_shop_categories', function(Blueprint $table) { |
|
| 12 | 12 | $table->engine = 'InnoDB'; |
| 13 | 13 | $table->increments('id'); |
| 14 | 14 | $table->integer('parent_id')->nullable()->unsigned()->index(); |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public function up() |
| 10 | 10 | { |
| 11 | - Schema::create('bedard_shop_statuses', function (Blueprint $table) { |
|
| 11 | + Schema::create('bedard_shop_statuses', function(Blueprint $table) { |
|
| 12 | 12 | $table->engine = 'InnoDB'; |
| 13 | 13 | $table->increments('id'); |
| 14 | 14 | $table->string('name')->default('')->index(); |