@@ -4,7 +4,7 @@ |
||
4 | 4 | use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Book; |
5 | 5 | use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Printer; |
6 | 6 | |
7 | -$factory->define(Printer::class, function (Faker $faker) { |
|
7 | +$factory->define(Printer::class, function(Faker $faker) { |
|
8 | 8 | return [ |
9 | 9 | "book_id" => factory(Book::class)->create()->id, |
10 | 10 | 'name' => $faker->realText(), |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Book; |
6 | 6 | use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Publisher; |
7 | 7 | |
8 | -$factory->define(Book::class, function (Faker $faker) { |
|
8 | +$factory->define(Book::class, function(Faker $faker) { |
|
9 | 9 | return [ |
10 | 10 | "author_id" => 1, |
11 | 11 | 'title' => $faker->title, |
@@ -7,7 +7,7 @@ |
||
7 | 7 | { |
8 | 8 | public function up() |
9 | 9 | { |
10 | - Schema::create('printers', function (Blueprint $table) { |
|
10 | + Schema::create('printers', function(Blueprint $table) { |
|
11 | 11 | $table->increments('id'); |
12 | 12 | $table->unsignedInteger('book_id'); |
13 | 13 | $table->timestamps(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('action_events', function (Blueprint $table) { |
|
16 | + Schema::create('action_events', function(Blueprint $table) { |
|
17 | 17 | $table->id(); |
18 | 18 | $table->char('batch_id', 36); |
19 | 19 | $table->unsignedBigInteger('user_id')->index(); |
@@ -7,7 +7,7 @@ |
||
7 | 7 | { |
8 | 8 | public function up() |
9 | 9 | { |
10 | - Schema::create('books', function (Blueprint $table) { |
|
10 | + Schema::create('books', function(Blueprint $table) { |
|
11 | 11 | $table->increments('id'); |
12 | 12 | $table->unsignedInteger('author_id'); |
13 | 13 | $table->unsignedInteger('publisher_id'); |
@@ -7,7 +7,7 @@ |
||
7 | 7 | { |
8 | 8 | public function up() |
9 | 9 | { |
10 | - Schema::create('authors', function (Blueprint $table) { |
|
10 | + Schema::create('authors', function(Blueprint $table) { |
|
11 | 11 | $table->increments('id'); |
12 | 12 | $table->timestamps(); |
13 | 13 | $table->softDeletes(); |
@@ -7,7 +7,7 @@ |
||
7 | 7 | { |
8 | 8 | public function up() |
9 | 9 | { |
10 | - Schema::create('users', function (Blueprint $table) { |
|
10 | + Schema::create('users', function(Blueprint $table) { |
|
11 | 11 | $table->bigIncrements('id'); |
12 | 12 | $table->unsignedBigInteger("supplier_id"); |
13 | 13 | $table->timestamps(); |
@@ -7,7 +7,7 @@ |
||
7 | 7 | { |
8 | 8 | public function up() |
9 | 9 | { |
10 | - Schema::create('publishers', function (Blueprint $table) { |
|
10 | + Schema::create('publishers', function(Blueprint $table) { |
|
11 | 11 | $table->increments('id'); |
12 | 12 | $table->timestamps(); |
13 | 13 |
@@ -7,7 +7,7 @@ |
||
7 | 7 | { |
8 | 8 | public function up() |
9 | 9 | { |
10 | - Schema::create('comments', function (Blueprint $table) { |
|
10 | + Schema::create('comments', function(Blueprint $table) { |
|
11 | 11 | $table->increments('id'); |
12 | 12 | $table->timestamps(); |
13 | 13 |