@@ -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 | } |
@@ -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'); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('places', function (Blueprint $table) { |
|
16 | + Schema::create('places', function(Blueprint $table) { |
|
17 | 17 | $table->id(); |
18 | 18 | $table->string('title'); |
19 | 19 | $table->text('description'); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('families', function (Blueprint $table) { |
|
16 | + Schema::create('families', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->text('description')->nullable(); |
19 | 19 | $table->integer('is_active')->nullable(); |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::table('person_events', function (Blueprint $table) { |
|
16 | + Schema::table('person_events', function(Blueprint $table) { |
|
17 | 17 | $table->integer('year')->nullable(); |
18 | 18 | $table->integer('month')->nullable(); |
19 | 19 | $table->integer('day')->nullable(); |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | $table->string('adop_famc')->nullable(); |
30 | 30 | $table->string('birt_famc')->nullable(); |
31 | 31 | }); |
32 | - Schema::table('family_events', function (Blueprint $table) { |
|
32 | + Schema::table('family_events', function(Blueprint $table) { |
|
33 | 33 | $table->integer('year')->nullable(); |
34 | 34 | $table->integer('month')->nullable(); |
35 | 35 | $table->integer('day')->nullable(); |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | */ |
53 | 53 | public function down() |
54 | 54 | { |
55 | - Schema::table('person_events', function (Blueprint $table) { |
|
55 | + Schema::table('person_events', function(Blueprint $table) { |
|
56 | 56 | $table->dropColumn('year'); |
57 | 57 | $table->dropColumn('month'); |
58 | 58 | $table->dropColumn('day'); |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | $table->dropColumn('adop_famc'); |
69 | 69 | $table->dropColumn('birt_famc'); |
70 | 70 | }); |
71 | - Schema::table('family_events', function (Blueprint $table) { |
|
71 | + Schema::table('family_events', function(Blueprint $table) { |
|
72 | 72 | $table->dropColumn('year'); |
73 | 73 | $table->dropColumn('month'); |
74 | 74 | $table->dropColumn('day'); |