| @@ -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_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'); | 
| @@ -19,7 +19,7 @@ | ||
| 19 | 19 | |
| 20 | 20 |          foreach ($seeds as $class) { | 
| 21 | 21 | $file = $this->seedersPath.$class.'.php'; | 
| 22 | -            if (file_exists($file) && ! class_exists($class)) { | |
| 22 | +            if (file_exists($file) && !class_exists($class)) { | |
| 23 | 23 | require_once $file; | 
| 24 | 24 | } | 
| 25 | 25 | with(new $class())->run(); | 
| @@ -13,7 +13,7 @@ | ||
| 13 | 13 | */ | 
| 14 | 14 | public function up() | 
| 15 | 15 |      { | 
| 16 | -        Schema::create('menu_items', function (Blueprint $table) { | |
| 16 | +        Schema::create('menu_items', function(Blueprint $table) { | |
| 17 | 17 |              $table->increments('id'); | 
| 18 | 18 |              $table->integer('menu_id'); | 
| 19 | 19 |              $table->string('title'); | 
| @@ -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'); |