Completed
Push — master ( e2e4e7...f54033 )
by Xu
273:23 queued 233:09
created
src/notifications/migrations/m180410_092555_create_notification_table.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -25,17 +25,17 @@
 block discarded – undo
25 25
         // https://segmentfault.com/q/1010000000672529/a-1020000000679702
26 26
         $this->createTable($this->tableName, [
27 27
             'id' => $this->bigPrimaryKey()->unsigned()->comment('Id'),
28
-            'verb' => $this->string(32)->comment('Verb'),//活动图片
29
-            'template' => $this->string()->comment('Template'),//通知类型
28
+            'verb' => $this->string(32)->comment('Verb'), //活动图片
29
+            'template' => $this->string()->comment('Template'), //通知类型
30 30
             'is_read' => $this->boolean()->defaultValue(false)->comment('Read'),
31 31
             'is_pending' => $this->boolean()->defaultValue(false)->comment('Pending'),
32 32
             'sender_id' => $this->integer()->unsigned()->comment('Sender Id'),
33 33
             'sender_class' => $this->string()->comment('Sender Class'),
34
-            'receiver' => $this->string()->comment('Receiver'),//接收器
34
+            'receiver' => $this->string()->comment('Receiver'), //接收器
35 35
             'publish_at' => $this->integer()->unsigned()->notNull()->comment('Publish At'),
36
-            'entity' => $this->string()->comment('Entity'),//任务对象
37
-            'source' => $this->string()->comment('Source'),//原有任务对象
38
-            'target' => $this->string()->comment('Target'),//目标对象
36
+            'entity' => $this->string()->comment('Entity'), //任务对象
37
+            'source' => $this->string()->comment('Source'), //原有任务对象
38
+            'target' => $this->string()->comment('Target'), //目标对象
39 39
         ], $tableOptions);
40 40
 
41 41
         $this->createIndex('notification_index', $this->tableName, ['sender_id', 'sender_class']);
Please login to merge, or discard this patch.