@@ -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->dateTime('chan', 3)->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->date('burial_day')->nullable()->after('death_year'); |
18 | 18 | $table->smallInteger('burial_year')->nullable()->after('burial_day'); |
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(['burial_day', 'burial_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->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->string('titl')->nullable(); |
18 | 18 | $table->date('chr')->nullable(); |
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(['titl', 'chr']); |
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('uid')->nullable(); |
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('uid'); |
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->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', |