@@ -4,7 +4,7 @@ discard block |
||
| 4 | 4 | |
| 5 | 5 | class DatabaseManagerSeeder extends Seeder |
| 6 | 6 | { |
| 7 | - protected $seedersPath = __DIR__ . '/../../database/seeds/'; |
|
| 7 | + protected $seedersPath = __DIR__.'/../../database/seeds/'; |
|
| 8 | 8 | /** |
| 9 | 9 | * Seed the application's database. |
| 10 | 10 | * |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | |
| 20 | 20 | foreach ($seeds as $class) { |
| 21 | 21 | |
| 22 | - $file = $this->seedersPath . $class . '.php'; |
|
| 22 | + $file = $this->seedersPath.$class.'.php'; |
|
| 23 | 23 | if (file_exists($file) && !class_exists($class)) { |
| 24 | 24 | require_once $file; |
| 25 | 25 | } |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('dbm_permissions', function (Blueprint $table) { |
|
| 16 | + Schema::create('dbm_permissions', function(Blueprint $table) { |
|
| 17 | 17 | $table->bigIncrements('id'); |
| 18 | 18 | $table->string('name'); |
| 19 | 19 | $table->string('slug'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('dbm_templates', function (Blueprint $table) { |
|
| 16 | + Schema::create('dbm_templates', function(Blueprint $table) { |
|
| 17 | 17 | $table->bigIncrements('id'); |
| 18 | 18 | $table->string('name'); |
| 19 | 19 | $table->string('old_name'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('dbm_user_permissions', function (Blueprint $table) { |
|
| 16 | + Schema::create('dbm_user_permissions', function(Blueprint $table) { |
|
| 17 | 17 | $table->bigIncrements('id'); |
| 18 | 18 | $table->bigInteger("user_id"); |
| 19 | 19 | $table->bigInteger("dbm_permission_id"); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('dbm_fields', function (Blueprint $table) { |
|
| 16 | + Schema::create('dbm_fields', function(Blueprint $table) { |
|
| 17 | 17 | $table->bigIncrements('id'); |
| 18 | 18 | $table->bigInteger('dbm_object_id')->unsigned(); |
| 19 | 19 | $table->string('name'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('dbm_collections', function (Blueprint $table) { |
|
| 16 | + Schema::create('dbm_collections', function(Blueprint $table) { |
|
| 17 | 17 | $table->bigIncrements('id'); |
| 18 | 18 | $table->string('name')->unique(); |
| 19 | 19 | $table->string('old_name'); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('dbm_objects', function (Blueprint $table) { |
|
| 16 | + Schema::create('dbm_objects', function(Blueprint $table) { |
|
| 17 | 17 | $table->bigIncrements('id'); |
| 18 | 18 | $table->string('name'); |
| 19 | 19 | $table->string('slug')->unique(); |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('dbm_collection_fields', function (Blueprint $table) { |
|
| 16 | + Schema::create('dbm_collection_fields', function(Blueprint $table) { |
|
| 17 | 17 | $table->bigIncrements('id'); |
| 18 | 18 | $table->bigInteger('dbm_collection_id'); |
| 19 | 19 | $table->string('name'); |
@@ -16,6 +16,6 @@ |
||
| 16 | 16 | |
| 17 | 17 | $type = $field['autoincrement'] ? 'smallserial' : 'smallint'; |
| 18 | 18 | |
| 19 | - return $type . $commonIntegerTypeDeclaration; |
|
| 19 | + return $type.$commonIntegerTypeDeclaration; |
|
| 20 | 20 | } |
| 21 | 21 | } |