From 26560d79077cdb98563ebb7c00c54ef8e39312ca Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Wed, 20 Mar 2024 23:48:08 +0300 Subject: [PATCH] remove invitation --- src/Models/CompanyInvitation.php | 13 ------------- src/Models/Concerns/CompanyRelations.php | 6 ------ 2 files changed, 19 deletions(-) delete mode 100644 src/Models/CompanyInvitation.php diff --git a/src/Models/CompanyInvitation.php b/src/Models/CompanyInvitation.php deleted file mode 100644 index b32ae4e..0000000 --- a/src/Models/CompanyInvitation.php +++ /dev/null @@ -1,13 +0,0 @@ -belongsTo(config('auth.providers.users.model'), 'user_id'); } - public function companyInvitations(): HasMany - { - return $this->hasMany(CompanyInvitation::class); - } - public function users(): BelongsToMany { return $this->belongsToMany(config('auth.providers.users.model'), Employeeship::class)