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

Don't use hardcoded primary key name #338

Merged
merged 1 commit into from
Mar 28, 2024

Commits on Feb 17, 2024

  1. Don't use hardcoded primary key name

    Not all User models use 'id' as the primary key.
    For example, Mine is 'uuid'. 
    `->getKey()` automatically gets the primary key value for us.
    danswiser committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    7b6ee68 View commit details
    Browse the repository at this point in the history