@@ -13,7 +13,7 @@ |
||
| 13 | 13 | GedcomImporter::class, |
| 14 | 14 | ]); |
| 15 | 15 | |
| 16 | - $this->app->bind('FamilyTree365/laravel-gedcom:parser', function () { |
|
| 16 | + $this->app->bind('FamilyTree365/laravel-gedcom:parser', function() { |
|
| 17 | 17 | return new GedcomParser(); |
| 18 | 18 | }); |
| 19 | 19 | } |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | public function definition() |
| 23 | 23 | { |
| 24 | 24 | return [ |
| 25 | - 'group' => $this->faker->word(), 'gid' => $this->faker->randomElement('1', '2'), 'subm' => $this->faker->word(), , 'created_at', 'updated_at', |
|
| 25 | + 'group' => $this->faker->word(), 'gid' => $this->faker->randomElement('1', '2'), 'subm' => $this->faker->word(),, 'created_at', 'updated_at', |
|
| 26 | 26 | ]; |
| 27 | 27 | } |
| 28 | 28 | } |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | 'group' => $this->faker->word(), 'gid' => $this->faker->randomElement('1', '2'), |
| 26 | 26 | 'type' => $this->faker->word(), 'name' => $this->faker->name(), |
| 27 | 27 | 'npfx' => $this->faker->word(), 'givn' => $this->faker->firstName(), |
| 28 | - 'nick' => $this->faker->userName(), 'spfx', 'surn' => $this->faker->lastName(), 'nsfx', 'created_at', 'updated_at', |
|
| 28 | + 'nick' => $this->faker->userName(), 'spfx', 'surn' => $this->faker->lastName(), 'nsfx', 'created_at', 'updated_at', |
|
| 29 | 29 | ]; |
| 30 | 30 | } |
| 31 | 31 | } |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | { |
| 24 | 24 | return [ |
| 25 | 25 | 'group' => $this->faker->word(), 'gid' => $this->faker->randomElement('1', '2'), |
| 26 | - 'titl' => $this->faker->word(), , 'obje_id' => $this->faker->randomElement('1', '2'), |
|
| 26 | + 'titl' => $this->faker->word(),, 'obje_id' => $this->faker->randomElement('1', '2'), |
|
| 27 | 27 | 'rin' => $this->faker->word(), 'created_at', 'updated_at', |
| 28 | 28 | ]; |
| 29 | 29 | } |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | { |
| 24 | 24 | return [ |
| 25 | 25 | 'group' => $this->faker->word(), 'gid' => $this->faker->randomElement('1', '2'), |
| 26 | - 'desi' => $this->faker->word(), , 'created_at', 'updated_at', |
|
| 26 | + 'desi' => $this->faker->word(),, 'created_at', 'updated_at', |
|
| 27 | 27 | ]; |
| 28 | 28 | } |
| 29 | 29 | } |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | 'group' => $this->faker->word(), 'gid' => $this->faker->randomElement('1', '2'), |
| 27 | 27 | 'type' => $this->faker->word(), 'name' => $this->faker->name(), |
| 28 | 28 | 'npfx' => $this->faker->word(), 'givn' => $this->faker->firstName(), |
| 29 | - 'nick' => $this->faker->userName(), 'spfx', 'surn' => $this->faker->lastName(), 'nsfx', 'created_at', 'updated_at', |
|
| 29 | + 'nick' => $this->faker->userName(), 'spfx', 'surn' => $this->faker->lastName(), 'nsfx', 'created_at', 'updated_at', |
|
| 30 | 30 | ]; |
| 31 | 31 | } |
| 32 | 32 | } |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('source_data', function (Blueprint $table) { |
|
| 16 | + Schema::create('source_data', function(Blueprint $table) { |
|
| 17 | 17 | $table->id(); |
| 18 | 18 | $table->string('group')->nullable(); |
| 19 | 19 | $table->integer('gid')->nullable(); |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::table('person_name', function (Blueprint $table) { |
|
| 16 | + Schema::table('person_name', function(Blueprint $table) { |
|
| 17 | 17 | $table->index(['id', 'gid']); |
| 18 | 18 | }); |
| 19 | 19 | } |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | */ |
| 26 | 26 | public function down() |
| 27 | 27 | { |
| 28 | - Schema::table('person_name', function (Blueprint $table) { |
|
| 28 | + Schema::table('person_name', function(Blueprint $table) { |
|
| 29 | 29 | $table->dropIndex(['id', 'gid']); |
| 30 | 30 | }); |
| 31 | 31 | } |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('types', function (Blueprint $table) { |
|
| 16 | + Schema::create('types', function(Blueprint $table) { |
|
| 17 | 17 | $table->id(); |
| 18 | 18 | $table->string('name'); |
| 19 | 19 | $table->string('description'); |