@@ -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(); |
@@ -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(); |