Skip to content

Apiato container to replace primary key type from auto-increment to UUID.

License

Notifications You must be signed in to change notification settings

larabeans/uuider

Repository files navigation

Larabeans > Uuider


Uuider

APIATO container to modify/replace primary key type from auto-increment to UUID.


Overview


Migrations

Contains new migrations to update core tables primary key type to uuid, which is incremental by default.


Models

Adds new models.

  • Client

  • PersonalAccessClient

  • User, Role and Permission models are used that are provided in core container. If you want to use your own models, write your own model and use HasUuid trait in your custom models. Or just extend existing models and add your custom functionality in those models. You also have to update core config file models values to make this work for your custom models


Environment File

  • 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

    use HasUuid;

Larabeans > Uuider

About

Apiato container to replace primary key type from auto-increment to UUID.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages