@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('configurable_options', function (Blueprint $table) { |
|
15 | + Schema::create('configurable_options', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('group_id')->unsigned(); |
18 | 18 | $table->foreign('group_id')->references('id')->on('product_groups'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('orders', function (Blueprint $table) { |
|
15 | + Schema::create('orders', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('invoice_id')->unsigned(); |
18 | 18 | $table->integer('client')->unsigned(); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('prices', function (Blueprint $table) { |
|
15 | + Schema::create('prices', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('product_id')->unsigned(); |
18 | 18 | $table->foreign('product_id')->references('id')->on('products'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('settings', function (Blueprint $table) { |
|
15 | + Schema::create('settings', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('company')->default('Ladybird Web Solution'); |
18 | 18 | $table->string('website')->default('http://www.ladybirdweb.com'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('invoice_items', function (Blueprint $table) { |
|
15 | + Schema::create('invoice_items', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('invoice_id')->unsigned(); |
18 | 18 | $table->foreign('invoice_id')->references('id')->on('invoices'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('product_types', function (Blueprint $table) { |
|
15 | + Schema::create('product_types', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('name'); |
18 | 18 | $table->string('description'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('currencies', function (Blueprint $table) { |
|
15 | + Schema::create('currencies', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('code')->unique(); |
18 | 18 | $table->string('symbol'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('subscriptions', function (Blueprint $table) { |
|
15 | + Schema::create('subscriptions', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('user_id')->unsigned(); |
18 | 18 | $table->foreign('user_id')->references('id')->on('users'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('promotions', function (Blueprint $table) { |
|
15 | + Schema::create('promotions', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('code'); |
18 | 18 | $table->integer('type')->unsigned(); |