Skip to content

Model Alternative Keys #428

Description

@SmolSoftBoi

Models currently use the primary key for a variety of its methods including save(), it would be useful to also be able to specify an alternative key (or keys) that rarely change. For example; a country or currency alpha code, or a URL slug, etc…

If this is something that's agreed I can implement this and create a pull request.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

databaseIssues or pull requests that affect the database layerin progress

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions