@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('products', function (Blueprint $table) { |
|
| 15 | + Schema::create('products', 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('product_groups', function (Blueprint $table) { |
|
| 15 | + Schema::create('product_groups', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->string('name'); |
| 18 | 18 | $table->string('headline'); |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function up() |
| 14 | 14 | { |
| 15 | - Schema::create('payments', function (Blueprint $table) { |
|
| 15 | + Schema::create('payments', function(Blueprint $table) { |
|
| 16 | 16 | $table->increments('id'); |
| 17 | 17 | $table->integer('parent_id')->unsigned(); |
| 18 | 18 | $table->integer('invoice_id')->unsigned(); |
@@ -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'); |