Improved DB performance & loading times (#1)
This commit is contained in:
@@ -88,7 +88,6 @@ class Form extends Model
|
||||
|
||||
protected $appends = [
|
||||
'share_url',
|
||||
'is_pro'
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
|
||||
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user