@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('guitars', function (Blueprint $table) { |
|
| 15 | + Schema::create('guitars', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->integer('purchase_id')->unsigned(); |
| 18 | 18 | $table->foreign('purchase_id')->references('id')->on('purchases')->onDelete('cascade'); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('suppliers', function (Blueprint $table) { |
|
| 15 | + Schema::create('suppliers', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->string('name'); |
| 18 | 18 | $table->string('location'); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('sales', function (Blueprint $table) { |
|
| 15 | + Schema::create('sales', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->integer('guitar_id')->unsigned(); |
| 18 | 18 | $table->foreign('guitar_id')->references('id')->on('guitars')->onDelete('cascade'); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('password_resets', function (Blueprint $table) { |
|
| 15 | + Schema::create('password_resets', function(Blueprint $table) { |
|
| 16 | 16 | $table->string('email')->index(); |
| 17 | 17 | $table->string('token')->index(); |
| 18 | 18 | $table->timestamp('created_at'); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('users', function (Blueprint $table) { |
|
| 15 | + Schema::create('users', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->string('name'); |
| 18 | 18 | $table->string('email')->unique(); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('makes', function (Blueprint $table) { |
|
| 15 | + Schema::create('makes', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->string('name'); |
| 18 | 18 | }); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('racks', function (Blueprint $table) { |
|
| 15 | + Schema::create('racks', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->integer('warehouse_id')->unsigned(); |
| 18 | 18 | $table->foreign('warehouse_id')->references('id')->on('warehouses')->onDelete('cascade'); |
@@ -96,7 +96,7 @@ |
||
| 96 | 96 | | |
| 97 | 97 | */ |
| 98 | 98 | |
| 99 | - 'lottery' => [2, 100], |
|
| 99 | + 'lottery' => [ 2, 100 ], |
|
| 100 | 100 | |
| 101 | 101 | /* |
| 102 | 102 | |-------------------------------------------------------------------------- |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | | |
| 55 | 55 | */ |
| 56 | 56 | |
| 57 | - 'from' => ['address' => null, 'name' => null], |
|
| 57 | + 'from' => [ 'address' => null, 'name' => null ], |
|
| 58 | 58 | |
| 59 | 59 | /* |
| 60 | 60 | |-------------------------------------------------------------------------- |