Explorar o código

update: fix model

tokumeikoi %!s(int64=3) %!d(string=hai) anos
pai
achega
f2c7d092ac
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      app/Models/ServerShadowsocks.php
  2. 1 0
      app/Models/ServerTrojan.php

+ 1 - 0
app/Models/ServerShadowsocks.php

@@ -12,6 +12,7 @@ class ServerShadowsocks extends Model
     protected $casts = [
         'created_at' => 'timestamp',
         'updated_at' => 'timestamp',
+        'group_id' => 'array',
         'tags' => 'array'
     ];
 }

+ 1 - 0
app/Models/ServerTrojan.php

@@ -12,6 +12,7 @@ class ServerTrojan extends Model
     protected $casts = [
         'created_at' => 'timestamp',
         'updated_at' => 'timestamp',
+        'group_id' => 'array',
         'tags' => 'array'
     ];
 }