Jelajahi Sumber

update: fix model

tokumeikoi 3 tahun lalu
induk
melakukan
f2c7d092ac
2 mengubah file dengan 2 tambahan dan 0 penghapusan
  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'
     ];
 }