Passed
Push — develop ( 3eb28f...628397 )
by nguereza
03:48 queued 47s
created
storage/migrations/20210823_152146_add_api_tokens_table.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -9,22 +9,22 @@  discard block
 block discarded – undo
9 9
 {
10 10
     public function up(): void
11 11
     {
12
-      //Action when migrate up
12
+        //Action when migrate up
13 13
         $this->create('tokens', function (CreateTable $table) {
14 14
             $table->integer('id')
15 15
                     ->autoincrement()
16 16
                     ->primary();
17 17
 
18 18
             $table->string('refresh_token')
19
-                   ->unique()
20
-                   ->notNull();
19
+                    ->unique()
20
+                    ->notNull();
21 21
 
22 22
             $table->datetime('expire_at')
23
-                  ->notNull();
23
+                    ->notNull();
24 24
 
25 25
             $table->integer('user_id')
26
-                   ->description('The owner of the token')
27
-                   ->notNull();
26
+                    ->description('The owner of the token')
27
+                    ->notNull();
28 28
 
29 29
             $table->timestamps();
30 30
             
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
     public function down(): void
40 40
     {
41
-      //Action when migrate down
41
+        //Action when migrate down
42 42
         $this->drop('tokens');
43 43
     }
44 44
 }
Please login to merge, or discard this patch.