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

Model Alternative Keys #428

Closed
SmolSoftBoi opened this issue Mar 5, 2017 · 3 comments
Closed

Model Alternative Keys #428

SmolSoftBoi opened this issue Mar 5, 2017 · 3 comments
Assignees
Labels
database Issues or pull requests that affect the database layer in progress
Milestone

Comments

@SmolSoftBoi
Copy link
Contributor

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.

@lonnieezell
Copy link
Member

I'm good with that. Go for it. :)

@Ema4rl
Copy link

Ema4rl commented Mar 7, 2017

I think it's absolutely necessary. Implement please!

@jim-parry jim-parry added this to the 4.0.1? milestone Sep 27, 2018
@jim-parry jim-parry added the database Issues or pull requests that affect the database layer label Dec 10, 2018
@lonnieezell
Copy link
Member

Was never implemented properly and it's been over a year. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database Issues or pull requests that affect the database layer in progress
Projects
None yet
Development

No branches or pull requests

4 participants