@@ -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(); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('importjobs', function (Blueprint $table) { |
|
| 16 | + Schema::create('importjobs', function(Blueprint $table) { |
|
| 17 | 17 | $table->id(); |
| 18 | 18 | $table->unsignedBigInteger('user_id')->nullable(); |
| 19 | 19 | $table->string('slug')->nullable(); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('media_objects', function (Blueprint $table) { |
|
| 16 | + Schema::create('media_objects', function(Blueprint $table) { |
|
| 17 | 17 | $table->id(); |
| 18 | 18 | $table->integer('gid')->nullable(); |
| 19 | 19 | $table->string('group')->nullable(); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('addrs', function (Blueprint $table) { |
|
| 16 | + Schema::create('addrs', function(Blueprint $table) { |
|
| 17 | 17 | $table->id(); |
| 18 | 18 | $table->string('adr1')->nullable(); |
| 19 | 19 | $table->string('adr2')->nullable(); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('chans', function (Blueprint $table) { |
|
| 16 | + Schema::create('chans', function(Blueprint $table) { |
|
| 17 | 17 | $table->id(); |
| 18 | 18 | $table->string('group')->nullable(); |
| 19 | 19 | $table->integer('gid')->nullable(); |
@@ -8,7 +8,7 @@ discard block |
||
| 8 | 8 | { |
| 9 | 9 | public function up() |
| 10 | 10 | { |
| 11 | - Schema::table('people', function (Blueprint $table) { |
|
| 11 | + Schema::table('people', function(Blueprint $table) { |
|
| 12 | 12 | $table->string('gid')->nullable(); |
| 13 | 13 | $table->string('givn')->nullable(); |
| 14 | 14 | $table->string('surn', 191)->nullable(); |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | |
| 33 | 33 | public function down() |
| 34 | 34 | { |
| 35 | - Schema::table('people', function ($table) { |
|
| 35 | + Schema::table('people', function($table) { |
|
| 36 | 36 | // $table->string('bank'); |
| 37 | 37 | // $table->string('bank_account'); |
| 38 | 38 | $table->dropColumn('gid'); |