@@ -15,9 +15,9 @@ |
||
15 | 15 | |
16 | 16 | 'files' => [ |
17 | 17 | |
18 | - realpath(__DIR__.'/../app/Providers/AppServiceProvider.php'), |
|
19 | - realpath(__DIR__.'/../app/Providers/EventServiceProvider.php'), |
|
20 | - realpath(__DIR__.'/../app/Providers/RouteServiceProvider.php'), |
|
18 | + realpath(__DIR__ . '/../app/Providers/AppServiceProvider.php'), |
|
19 | + realpath(__DIR__ . '/../app/Providers/EventServiceProvider.php'), |
|
20 | + realpath(__DIR__ . '/../app/Providers/RouteServiceProvider.php'), |
|
21 | 21 | |
22 | 22 | ], |
23 | 23 |
@@ -127,7 +127,7 @@ |
||
127 | 127 | { |
128 | 128 | \DB::table('products')->delete(); |
129 | 129 | Product::create(['id' => 1, 'name' => 'default', 'type' => 1, 'group' => 1]); |
130 | - //Product::create(['id'=>2,'name'=>'none1','type'=>1,'group' =>1]); |
|
130 | + //Product::create(['id'=>2,'name'=>'none1','type'=>1,'group' =>1]); |
|
131 | 131 | } |
132 | 132 | } |
133 | 133 |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use App\Model\Payment\PromotionType; |
9 | 9 | use App\Model\Product\Product; |
10 | 10 | use App\Model\Product\ProductGroup; |
11 | -use App\Model\Product\Subscription; |
|
12 | 11 | use App\Model\Product\Type; |
13 | 12 | use Illuminate\Database\Eloquent\Model; |
14 | 13 | use Illuminate\Database\Seeder; |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('product_bundles', function (Blueprint $table) { |
|
15 | + Schema::create('product_bundles', function(Blueprint $table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->string('name'); |
18 | 18 | $table->timestamp('valid_from'); |
@@ -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('account_activates', function (Blueprint $table) { |
|
15 | + Schema::create('account_activates', function(Blueprint $table) { |
|
16 | 16 | $table->string('email')->index(); |
17 | 17 | $table->string('token')->index(); |
18 | 18 | $table->timestamps(); |
@@ -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('first_name'); |
18 | 18 | $table->string('last_name'); |
@@ -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(); |