mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 09:04:04 +00:00
Move DatabaseManager
This commit is contained in:
parent
16a598bb17
commit
579779b88b
9 changed files with 13 additions and 27 deletions
|
|
@ -19,11 +19,11 @@ trait GeneratesIds
|
|||
|
||||
public function getIncrementing()
|
||||
{
|
||||
return ! $this->shouldGenerateId();
|
||||
return ! app()->bound(UniqueIdentifierGenerator::class);
|
||||
}
|
||||
|
||||
public function shouldGenerateId(): bool
|
||||
{
|
||||
return app()->bound(UniqueIdentifierGenerator::class);
|
||||
return ! $this->getIncrementing();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue