Passed
Pull Request — master (#134)
by
unknown
03:12
created
migrations/2025_02_28_000000_add_base_url_to_magic_links_table.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        if (!Schema::hasColumn('magic_links', 'base_url')) {
17
-            Schema::table('magic_links', function (Blueprint $table) {
16
+        if ( ! Schema::hasColumn('magic_links', 'base_url')) {
17
+            Schema::table('magic_links', function(Blueprint $table) {
18 18
                 $table->string('base_url')->nullable()->after('action');
19 19
             });
20 20
         }
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     public function down()
29 29
     {
30 30
         if (Schema::hasColumn('magic_links', 'base_url')) {
31
-            Schema::table('magic_links', function (Blueprint $table) {
31
+            Schema::table('magic_links', function(Blueprint $table) {
32 32
                 $table->dropColumn('base_url');
33 33
             });
34 34
         }
Please login to merge, or discard this patch.