@@ -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'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('subns', function (Blueprint $table) { |
|
| 16 | + Schema::create('subns', function(Blueprint $table) { |
|
| 17 | 17 | $table->id(); |
| 18 | 18 | $table->string('subm')->nullable(); |
| 19 | 19 | $table->string('famf')->nullable(); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('person_alia', function (Blueprint $table) { |
|
| 16 | + Schema::create('person_alia', function(Blueprint $table) { |
|
| 17 | 17 | $table->id(); |
| 18 | 18 | $table->string('group')->nullable(); |
| 19 | 19 | $table->integer('gid')->nullable(); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('person_name_romn', function (Blueprint $table) { |
|
| 16 | + Schema::create('person_name_romn', function(Blueprint $table) { |
|
| 17 | 17 | $table->id(); |
| 18 | 18 | $table->string('group')->nullable(); |
| 19 | 19 | $table->integer('gid')->nullable(); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('authors', function (Blueprint $table) { |
|
| 16 | + Schema::create('authors', 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('publications', function (Blueprint $table) { |
|
| 16 | + Schema::create('publications', function(Blueprint $table) { |
|
| 17 | 17 | $table->id(); |
| 18 | 18 | $table->string('name'); |
| 19 | 19 | $table->string('description'); |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | 16 | if (Schema::hasTable('people')) { |
| 17 | - Schema::table('people', function (Blueprint $table) { |
|
| 17 | + Schema::table('people', function(Blueprint $table) { |
|
| 18 | 18 | if (Schema::hasColumn('people', 'uid')) { |
| 19 | 19 | $table->index(['id', 'uid']); |
| 20 | 20 | } |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | public function down() |
| 31 | 31 | { |
| 32 | 32 | if (Schema::hasTable('people')) { |
| 33 | - Schema::table('people', function (Blueprint $table) { |
|
| 33 | + Schema::table('people', function(Blueprint $table) { |
|
| 34 | 34 | if (Schema::hasColumn('people', 'uid')) { |
| 35 | 35 | $table->dropIndex(['id', 'uid']); |
| 36 | 36 | } |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('media_objects_file', function (Blueprint $table) { |
|
| 16 | + Schema::create('media_objects_file', function(Blueprint $table) { |
|
| 17 | 17 | $table->id(); |
| 18 | 18 | $table->string('form')->nullable(); |
| 19 | 19 | $table->string('medi')->nullable(); |