- Notifications
You must be signed in to change notification settings - Fork1
Apiato container to replace primary key type from auto-increment to UUID.
License
NotificationsYou must be signed in to change notification settings
larabeans/uuider
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Larabeans > Uuider
APIATO container to modify/replace primary key type from auto-increment to UUID.
Contains new migrations to update core tables primary key type to uuid, which is incremental by default.
Adds new models.
Client
PersonalAccessClient
User, Role and Permission models are used that are provided in core container. If you want to use your ownmodels, write your own model and use HasUuid trait in your custom models. Or just extend existing models and add yourcustom functionality in those models. You also have to update core config file models values to make thiswork for your custom models
- Update env file user namespace as USER_NAMESPACE=App\Containers\Larabeans\Core\Models\
OR
Create you own user model and use trait from core container as
useHasUuid;