rename instance settings

This commit is contained in:
Andras Bacsai
2023-04-25 09:38:05 +02:00
parent 85a311b3ae
commit 07c952d75b
10 changed files with 91 additions and 50 deletions

View File

@@ -52,7 +52,9 @@ class User extends Authenticatable
$model->uuid = (string) new Cuid2(7);
});
}
public function isRoot() {
return $this->id == 0;
}
public function teams()
{
return $this->belongsToMany(Team::class);