Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can we use UUID except auto increment ID with this library? #408

Closed
atifriazmughal opened this issue Jul 10, 2021 · 4 comments
Closed

Comments

@atifriazmughal
Copy link

I am beginner and just started learning ci4. Is there simple way to takeover myth-auth? I tried to edit UserModal.php but failed.
I changed primarykey and disabled autoincrement in this modal but when i register user it not works.

@atifriazmughal
Copy link
Author

If its possible library should have UUID support in future.

@erikkraijenoord
Copy link

I've recently found this package 'CodeIgniter4-uuid' that is made for CodeIgniter 4. Was looking for a simulair solution you are looking for :-)

@atifriazmughal
Copy link
Author

I've recently found this package 'CodeIgniter4-uuid' that is made for CodeIgniter 4. Was looking for a simulair solution you are looking for :-)

Thank you. You are right. I had customized and used above codeigniter4-uuid library within myth-auth.

@MGatner
Copy link
Collaborator

MGatner commented Jul 12, 2022

IDs in this library are hard-coded to int so UUID support will require heavy modification that is beyond the scope of GitHub Issue support.

@MGatner MGatner closed this as completed Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants