Completed
Push — ft/package ( 7b41d6...ceb161 )
by Philippe
13:50
created
database/migrations/2018_01_09_153551_create_media_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up()
13 13
     {
14
-        Schema::create('media', function (Blueprint $table) {
14
+        Schema::create('media', function(Blueprint $table) {
15 15
             $table->increments('id');
16 16
             $table->morphs('model');
17 17
             $table->string('collection_name');
Please login to merge, or discard this patch.
database/migrations/2017_07_13_112256_create_pages_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('pages', function (Blueprint $table){
16
+        Schema::create('pages', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->boolean('published')->default(false);
19 19
             $table->boolean('featured')->default(false);
Please login to merge, or discard this patch.
database/migrations/2014_10_12_000000_change_users_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('chief_users', function (Blueprint $table) {
16
+        Schema::create('chief_users', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->string('firstname');
19 19
             $table->string('lastname');
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
             $table->timestamps();
26 26
         });
27 27
 
28
-        Schema::create('chief_password_resets', function (Blueprint $table) {
28
+        Schema::create('chief_password_resets', function(Blueprint $table) {
29 29
             $table->string('email')->index();
30 30
             $table->string('token')->index();
31 31
             $table->timestamp('created_at')->nullable();
Please login to merge, or discard this patch.
database/migrations/2018_05_04_150724_add_relations_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('relations', function (Blueprint $table){
16
+        Schema::create('relations', function(Blueprint $table) {
17 17
             $table->string("parent_type");
18 18
             $table->unsignedBigInteger("parent_id");
19 19
             $table->string("child_type");
Please login to merge, or discard this patch.
database/migrations/2018_04_16_101042_create_squanto_tables.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 {
9 9
     public function up()
10 10
     {
11
-        Schema::create('squanto_lines', function (Blueprint $table) {
11
+        Schema::create('squanto_lines', function(Blueprint $table) {
12 12
             $table->increments('id');
13 13
             $table->integer('page_id')->unsigned()->nullable(); // Pages are for proper clustering on admin side.
14 14
             $table->boolean('published')->default(1); // Draft or active
@@ -16,22 +16,22 @@  discard block
 block discarded – undo
16 16
             $table->string('label')->nullable();
17 17
             $table->string('description')->nullable();
18 18
             $table->tinyInteger('sequence')->default(0);
19
-            $table->enum('type', ['text','textarea','editor'])->default('text');
19
+            $table->enum('type', ['text', 'textarea', 'editor'])->default('text');
20 20
             $table->string('allowed_html')->nullable();
21 21
             $table->timestamps();
22 22
         });
23 23
 
24
-        Schema::create('squanto_line_translations', function (Blueprint $table) {
24
+        Schema::create('squanto_line_translations', function(Blueprint $table) {
25 25
             $table->increments('id');
26 26
             $table->integer('line_id')->unsigned();
27 27
             $table->string('locale');
28 28
             $table->text('value')->nullable();
29 29
 
30
-            $table->unique(['line_id','locale']);
30
+            $table->unique(['line_id', 'locale']);
31 31
             $table->foreign('line_id')->references('id')->on('squanto_lines')->onDelete('cascade');
32 32
         });
33 33
 
34
-        Schema::create('squanto_pages', function (Blueprint $table) {
34
+        Schema::create('squanto_pages', function(Blueprint $table) {
35 35
             $table->increments('id');
36 36
             $table->string('label'); // admin label
37 37
             $table->string('description')->nullable(); // admin description
Please login to merge, or discard this patch.
database/migrations/2017_07_27_092137_create_note_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('notes', function (Blueprint $table) {
15
+        Schema::create('notes', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->boolean('published')->default(0);
18 18
             $table->enum('type', ['general', 'delivery', 'payment']);
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
             $table->timestamps();
24 24
         });
25 25
 
26
-        Schema::create('note_translations', function (Blueprint $table) {
26
+        Schema::create('note_translations', function(Blueprint $table) {
27 27
             $table->increments('id');
28 28
             $table->integer('note_id')->unsigned();
29 29
             $table->string('locale');
Please login to merge, or discard this patch.
database/migrations/2018_01_09_153551_create_asset_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,12 +13,12 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('assets', function (Blueprint $table) {
16
+        Schema::create('assets', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->timestamps();
19 19
         });
20 20
 
21
-        Schema::create('asset_pivots', function (Blueprint $table) {
21
+        Schema::create('asset_pivots', function(Blueprint $table) {
22 22
             $table->integer('asset_id');
23 23
             $table->integer('entity_id');
24 24
             $table->string('entity_type');
Please login to merge, or discard this patch.
database/migrations/2018_04_27_111212_create_permission_tables.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -15,21 +15,21 @@  discard block
 block discarded – undo
15 15
     {
16 16
         $tableNames = config('permission.table_names');
17 17
 
18
-        Schema::create($tableNames['permissions'], function (Blueprint $table) {
18
+        Schema::create($tableNames['permissions'], function(Blueprint $table) {
19 19
             $table->increments('id');
20 20
             $table->string('name');
21 21
             $table->string('guard_name');
22 22
             $table->timestamps();
23 23
         });
24 24
 
25
-        Schema::create($tableNames['roles'], function (Blueprint $table) {
25
+        Schema::create($tableNames['roles'], function(Blueprint $table) {
26 26
             $table->increments('id');
27 27
             $table->string('name');
28 28
             $table->string('guard_name');
29 29
             $table->timestamps();
30 30
         });
31 31
 
32
-        Schema::create($tableNames['model_has_permissions'], function (Blueprint $table) use ($tableNames) {
32
+        Schema::create($tableNames['model_has_permissions'], function(Blueprint $table) use ($tableNames) {
33 33
             $table->unsignedInteger('permission_id');
34 34
             $table->morphs('model');
35 35
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             $table->primary(['permission_id', 'model_id', 'model_type']);
42 42
         });
43 43
 
44
-        Schema::create($tableNames['model_has_roles'], function (Blueprint $table) use ($tableNames) {
44
+        Schema::create($tableNames['model_has_roles'], function(Blueprint $table) use ($tableNames) {
45 45
             $table->unsignedInteger('role_id');
46 46
             $table->morphs('model');
47 47
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
             $table->primary(['role_id', 'model_id', 'model_type']);
54 54
         });
55 55
 
56
-        Schema::create($tableNames['role_has_permissions'], function (Blueprint $table) use ($tableNames) {
56
+        Schema::create($tableNames['role_has_permissions'], function(Blueprint $table) use ($tableNames) {
57 57
             $table->unsignedInteger('permission_id');
58 58
             $table->unsignedInteger('role_id');
59 59
 
Please login to merge, or discard this patch.
database/migrations/2017_07_18_091529_create_jobs_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('jobs', function (Blueprint $table) {
16
+        Schema::create('jobs', function(Blueprint $table) {
17 17
             $table->bigIncrements('id');
18 18
             $table->string('queue');
19 19
             $table->longText('payload');
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
             $table->index(['queue', 'reserved_at']);
26 26
         });
27 27
 
28
-        Schema::create('failed_jobs', function (Blueprint $table) {
28
+        Schema::create('failed_jobs', function(Blueprint $table) {
29 29
             $table->bigIncrements('id');
30 30
             $table->text('connection');
31 31
             $table->text('queue');
Please login to merge, or discard this patch.