Improved DB performance & loading times (#1)

This commit is contained in:
Chirag
2022-09-21 18:29:32 +05:30
committed by GitHub
parent 341ee04268
commit 8ac5f5b9d8
6 changed files with 79 additions and 21 deletions

View File

@@ -88,7 +88,6 @@ class Form extends Model
protected $appends = [
'share_url',
'is_pro'
];
protected $hidden = [

View File

@@ -61,11 +61,6 @@ class User extends Authenticatable implements JWTSubject //, MustVerifyEmail
*/
protected $appends = [
'photo_url',
'is_subscribed',
'has_enterprise_subscription',
'admin',
'has_customer_id',
'has_forms'
];
protected $withCount = ['workspaces'];