Skip to content

Commit

Permalink
Merge pull request #8 from lara-zeus/invitation
Browse files Browse the repository at this point in the history
remove invitation
  • Loading branch information
atmonshi authored Mar 20, 2024
2 parents 1c6d4ad + 26560d7 commit 88e8b06
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 88e8b06

Please sign in to comment.