diff --git a/app/Models/Account.php b/app/Models/Account.php index 419eb4feb590..9a95aec3b344 100644 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -67,6 +67,10 @@ class Account extends BaseModel // 'plan_expires' ]; + protected $casts = [ + 'onboarding' => 'object' + ]; + const PLAN_FREE = 'free'; const PLAN_PRO = 'pro'; const PLAN_ENTERPRISE = 'enterprise';