@@ -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 | } |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::table('families', function (Blueprint $table) { |
|
| 16 | + Schema::table('families', function(Blueprint $table) { |
|
| 17 | 17 | $table->string('husband_id')->nullable()->change(); |
| 18 | 18 | $table->string('wife_id')->nullable()->change(); |
| 19 | 19 | }); |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | */ |
| 27 | 27 | public function down() |
| 28 | 28 | { |
| 29 | - Schema::table('families', function (Blueprint $table) { |
|
| 29 | + Schema::table('families', function(Blueprint $table) { |
|
| 30 | 30 | $table->integer('husband_id')->nullable()->change(); |
| 31 | 31 | $table->integer('wife_id')->nullable()->change(); |
| 32 | 32 | }); |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::table('people', function (Blueprint $table) { |
|
| 16 | + Schema::table('people', function(Blueprint $table) { |
|
| 17 | 17 | $table->dropColumn('chan'); |
| 18 | 18 | }); |
| 19 | 19 | } |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | */ |
| 26 | 26 | public function down() |
| 27 | 27 | { |
| 28 | - Schema::table('people', function (Blueprint $table) { |
|
| 28 | + Schema::table('people', function(Blueprint $table) { |
|
| 29 | 29 | $table->string('chan')->nullable()->after('deleted_at'); |
| 30 | 30 | }); |
| 31 | 31 | } |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::table('people', function (Blueprint $table) { |
|
| 16 | + Schema::table('people', function(Blueprint $table) { |
|
| 17 | 17 | $table->smallInteger('birth_year')->nullable()->after('birthday'); |
| 18 | 18 | $table->smallInteger('death_year')->nullable()->after('deathday'); |
| 19 | 19 | }); |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | */ |
| 27 | 27 | public function down() |
| 28 | 28 | { |
| 29 | - Schema::table('people', function (Blueprint $table) { |
|
| 29 | + Schema::table('people', function(Blueprint $table) { |
|
| 30 | 30 | $table->dropColumn(['birth_year', 'death_year']); |
| 31 | 31 | }); |
| 32 | 32 | } |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::table('people', function (Blueprint $table) { |
|
| 16 | + Schema::table('people', function(Blueprint $table) { |
|
| 17 | 17 | $table->unsignedTinyInteger('birth_month')->nullable()->after('birthday'); |
| 18 | 18 | $table->unsignedTinyInteger('death_month')->nullable()->after('deathday'); |
| 19 | 19 | $table->unsignedTinyInteger('burial_month')->nullable()->after('burial_day'); |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | */ |
| 28 | 28 | public function down() |
| 29 | 29 | { |
| 30 | - Schema::table('people', function (Blueprint $table) { |
|
| 30 | + Schema::table('people', function(Blueprint $table) { |
|
| 31 | 31 | $table->dropColumn(['birth_month', 'death_month', 'burial_month']); |
| 32 | 32 | }); |
| 33 | 33 | } |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::table('people', function (Blueprint $table) { |
|
| 16 | + Schema::table('people', function(Blueprint $table) { |
|
| 17 | 17 | $table->string('birthday_dati')->nullable(); |
| 18 | 18 | $table->string('birthday_plac')->nullable(); |
| 19 | 19 | $table->string('deathday_dati')->nullable(); |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | public function down() |
| 35 | 35 | { |
| 36 | - Schema::table('people', function (Blueprint $table) { |
|
| 36 | + Schema::table('people', function(Blueprint $table) { |
|
| 37 | 37 | $table->dropColumn([ |
| 38 | 38 | 'birthday_dati', |
| 39 | 39 | 'birthday_plac', |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::table('people', function (Blueprint $table) { |
|
| 16 | + Schema::table('people', function(Blueprint $table) { |
|
| 17 | 17 | $table->dateTime('chan')->nullable()->after('deleted_at'); |
| 18 | 18 | }); |
| 19 | 19 | } |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | */ |
| 26 | 26 | public function down() |
| 27 | 27 | { |
| 28 | - Schema::table('people', function (Blueprint $table) { |
|
| 28 | + Schema::table('people', function(Blueprint $table) { |
|
| 29 | 29 | $table->dropColumn('chan'); |
| 30 | 30 | }); |
| 31 | 31 | } |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::table('people', function (Blueprint $table) { |
|
| 16 | + Schema::table('people', function(Blueprint $table) { |
|
| 17 | 17 | $table->dropColumn('chan'); |
| 18 | 18 | }); |
| 19 | 19 | } |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | */ |
| 26 | 26 | public function down() |
| 27 | 27 | { |
| 28 | - Schema::table('people', function (Blueprint $table) { |
|
| 28 | + Schema::table('people', function(Blueprint $table) { |
|
| 29 | 29 | $table->dateTime('chan')->nullable()->after('deleted_at'); |
| 30 | 30 | }); |
| 31 | 31 | } |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | } |
| 71 | 71 | } |
| 72 | 72 | $_group = 'fam'; |
| 73 | - if($familie == null) { |
|
| 73 | + if ($familie == null) { |
|
| 74 | 74 | $_gid = 0; |
| 75 | 75 | } else { |
| 76 | 76 | $_gid = $familie->id; |