1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 20:54:04 +00:00

remove old UUID generator, minor config changes

This commit is contained in:
Samuel Štancl 2024-04-16 02:17:20 +02:00
parent 83b1ae1aea
commit 4bdb986b96
2 changed files with 5 additions and 22 deletions

View file

@ -1,18 +0,0 @@
<?php
declare(strict_types=1);
namespace Stancl\Tenancy;
use Exception;
use Illuminate\Database\Eloquent\Model;
use Stancl\Tenancy\Contracts\UniqueIdentifierGenerator;
// todo@deprecation remove after 2024-04-12
class UUIDGenerator implements UniqueIdentifierGenerator
{
public static function generate(Model $model): string
{
throw new Exception('Tenancy update note: UUIDGenerator has been renamed to Stancl\Tenancy\UniqueIdentifierGenerators\UUIDGenerator. Please update your config/tenancy.php');
}
}