laratrust
laratrust copied to clipboard
Add support for UUID on user ID foreign key constraint
This PR adds support for users table that uses UUID as primary keys instead of the default integer type
If people want to use uuid or any other tyoe as primary key they have to implement it. by editing default migration which we can get from this lib. I don't think that this is usefull.
Check any other libs and they all use integer as the primary key. but developer always can change it to uuid to whetever they want
If people want to use uuid or any other tyoe as primary key they have to implement it. by editing default migration which we can get from this lib. I don't think that this is usefull.
Check any other libs and they all use integer as the primary key. but developer always can change it to uuid to whetever they want
While I understand that developers can always change it to UUID in their app, this PR was created so that the package can support it out-of-the-box. However, if you still insist it's useless, I can always close it.
I agree with @websitevirtuoso closing this for now