Skip to content

Commit

Permalink
remove invitation
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Mar 20, 2024
1 parent 1c6d4ad commit 26560d7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
13 changes: 0 additions & 13 deletions src/Models/CompanyInvitation.php

This file was deleted.

6 changes: 0 additions & 6 deletions src/Models/Concerns/CompanyRelations.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Illuminate\Database\Eloquent\Relations\HasMany;
use LaraZeus\Tartarus\Models\CompanyInvitation;
use LaraZeus\Tartarus\Models\Employeeship;
use LaraZeus\Tartarus\Models\Settings;

Expand All @@ -16,11 +15,6 @@ public function owner(): BelongsTo
return $this->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)
Expand Down

0 comments on commit 26560d7

Please sign in to comment.