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'; diff --git a/database/migrations/2021_11_03_131308_onboarding.php b/database/migrations/2021_11_03_131308_onboarding.php new file mode 100644 index 000000000000..4ed81e354d92 --- /dev/null +++ b/database/migrations/2021_11_03_131308_onboarding.php @@ -0,0 +1,21 @@ +boolean('is_onboarding')->default(false); + $table->mediumText('onboarding')->nullable(); + }); + } +}