Completed
Push — master ( d5294b...100b08 )
by Vincenzo
04:04
created
api/database/migrations/CreateTeamTable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,10 +13,10 @@
 block discarded – undo
13 13
     public function run()
14 14
     {
15 15
         Capsule::schema()->dropIfExists('teams');
16
-        Capsule::schema()->create('teams', function (Blueprint $table) {
16
+        Capsule::schema()->create('teams', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->string('name');
19
-            $table->string('nationality',2);
19
+            $table->string('nationality', 2);
20 20
             $table->timestamps();
21 21
         });
22 22
     }
Please login to merge, or discard this patch.
api/database/migrations/CreateCoachesTable.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,15 +13,15 @@
 block discarded – undo
13 13
     public function run()
14 14
     {
15 15
         Capsule::schema()->dropIfExists('coaches');
16
-        Capsule::schema()->create('coaches', function (Blueprint $table) {
16
+        Capsule::schema()->create('coaches', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->string('name');
19 19
             $table->string('surname');
20 20
             $table->tinyInteger('age');
21
-            $table->string('nationality',2);
21
+            $table->string('nationality', 2);
22 22
             $table->float('skillAvg');
23 23
             $table->float('wageReq');
24
-            $table->string('favouriteModule',10);
24
+            $table->string('favouriteModule', 10);
25 25
             $table->integer('team_id')->nullable();
26 26
             $table->timestamps();
27 27
         });
Please login to merge, or discard this patch.
api/database/migrations/CreatePlayersTable.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,16 +13,16 @@
 block discarded – undo
13 13
     public function run()
14 14
     {
15 15
         Capsule::schema()->dropIfExists('players');
16
-        Capsule::schema()->create('players', function (Blueprint $table) {
16
+        Capsule::schema()->create('players', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->string('name');
19 19
             $table->string('surname');
20 20
             $table->tinyInteger('age');
21
-            $table->string('nationality',2);
21
+            $table->string('nationality', 2);
22 22
             $table->float('skillAvg');
23 23
             $table->float('wageReq');
24 24
             $table->float('val');
25
-            $table->string('role',2);
25
+            $table->string('role', 2);
26 26
             $table->integer('team_id')->nullable();
27 27
             $table->timestamps();
28 28
         });
Please login to merge, or discard this patch.
api/config/config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 use Illuminate\Database\Capsule\Manager as Capsule;
4 4
 
5
-$dotenv = new Dotenv\Dotenv(__DIR__ . "/../");
5
+$dotenv = new Dotenv\Dotenv(__DIR__."/../");
6 6
 $dotenv->load();
7 7
 
8 8
 /**
Please login to merge, or discard this patch.