Passed
Pull Request — main (#19)
by
unknown
12:36
created
database/migrations/2023_03_24_000000_create_comment_likes_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
      */
11 11
     public function up(): void
12 12
     {
13
-        Schema::create('comment_likes', function (Blueprint $table) {
13
+        Schema::create('comment_likes', function(Blueprint $table) {
14 14
             $table->id();
15 15
             $table->foreignId('user_id')->nullable();
16 16
             $table->foreignId('comment_id');
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
             $table->timestamps();
20 20
         });
21 21
 
22
-        Schema::table('comment_likes', function (Blueprint $table) {
22
+        Schema::table('comment_likes', function(Blueprint $table) {
23 23
             if (config('commentify.user_uuid')) {
24 24
                 $table->foreignUuid('user_id')->nullable()->change();
25 25
             }
Please login to merge, or discard this patch.
database/migrations/2023_02_24_000000_create_comments_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
      */
11 11
     public function up(): void
12 12
     {
13
-        Schema::create('comments', function (Blueprint $table) {
13
+        Schema::create('comments', function(Blueprint $table) {
14 14
             $table->id();
15 15
             $table->foreignId('user_id')->constrained()->onDelete('cascade');
16 16
             $table->foreignId('parent_id')->nullable()->constrained('comments')->onDelete('cascade');
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
             $table->timestamps();
21 21
         });
22 22
 
23
-        Schema::table('comments', function (Blueprint $table) {
23
+        Schema::table('comments', function(Blueprint $table) {
24 24
             if (config('commentify.user_uuid')) {
25 25
                 $table->foreignUuid('user_id')->constrained()->onDelete('cascade')->change();
26 26
             }
Please login to merge, or discard this patch.