@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('citations', function (Blueprint $table) { |
|
| 16 | + Schema::create('citations', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->string('name'); |
| 19 | 19 | $table->text('description'); |
@@ -15,11 +15,11 @@ discard block |
||
| 15 | 15 | { |
| 16 | 16 | // |
| 17 | 17 | if (Schema::hasColumn('places', 'description')) { |
| 18 | - Schema::table('places', function (Blueprint $table) { |
|
| 18 | + Schema::table('places', function(Blueprint $table) { |
|
| 19 | 19 | $table->dropColumn('description'); |
| 20 | 20 | }); |
| 21 | 21 | } |
| 22 | - Schema::table('places', function (Blueprint $table) { |
|
| 22 | + Schema::table('places', function(Blueprint $table) { |
|
| 23 | 23 | $table->text('description')->nullable()->after('date'); |
| 24 | 24 | }); |
| 25 | 25 | } |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | public function down() |
| 33 | 33 | { |
| 34 | 34 | // |
| 35 | - Schema::table('places', function (Blueprint $table) { |
|
| 35 | + Schema::table('places', function(Blueprint $table) { |
|
| 36 | 36 | $table->dropColumn('description'); |
| 37 | 37 | }); |
| 38 | 38 | } |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('notes', function (Blueprint $table) { |
|
| 16 | + Schema::create('notes', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->string('name')->nullable(); |
| 19 | 19 | $table->text('description')->nullable(); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('family_events', function (Blueprint $table) { |
|
| 16 | + Schema::create('family_events', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->integer('family_id')->references('id')->on('families'); |
| 19 | 19 | $table->integer('places_id')->references('id')->on('places')->nullable(); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('person_asso', function (Blueprint $table) { |
|
| 16 | + Schema::create('person_asso', 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('refn', function (Blueprint $table) { |
|
| 16 | + Schema::create('refn', 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_events', function (Blueprint $table) { |
|
| 16 | + Schema::table('person_events', function(Blueprint $table) { |
|
| 17 | 17 | $table->index(['id', 'person_id', 'addr_id']); |
| 18 | 18 | }); |
| 19 | 19 | } |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | */ |
| 26 | 26 | public function down() |
| 27 | 27 | { |
| 28 | - Schema::table('person_events', function (Blueprint $table) { |
|
| 28 | + Schema::table('person_events', function(Blueprint $table) { |
|
| 29 | 29 | $table->dropIndex(['id', 'person_id', 'addr_id']); |
| 30 | 30 | }); |
| 31 | 31 | } |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('person_name', function (Blueprint $table) { |
|
| 16 | + Schema::create('person_name', 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('subms', function (Blueprint $table) { |
|
| 16 | + Schema::create('subms', function(Blueprint $table) { |
|
| 17 | 17 | $table->id(); |
| 18 | 18 | $table->string('group')->nullable(); |
| 19 | 19 | $table->integer('gid')->nullable(); |