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

Review all models for key uniqueness #127

Open
OscarPDR opened this issue Jan 21, 2015 · 2 comments
Open

Review all models for key uniqueness #127

OscarPDR opened this issue Jan 21, 2015 · 2 comments
Assignees

Comments

@OscarPDR
Copy link
Owner

No description provided.

@OscarPDR OscarPDR self-assigned this Jan 21, 2015
@porduna
Copy link
Collaborator

porduna commented Jan 21, 2015

  • New events are generated with a unique slug. But we have to migrate old events.
  • There is no uniqueness for the table PublicationAuthor (author, publication). We manually check that when adding authors so it's not a big deal, but they should ensure uniqueness.

@OscarPDR
Copy link
Owner Author

Yeah, I think that "relation" tables such as PublicationAuthor (link between Publication and Person) should ensure the uniqueness through all the ForeignKeys. There are lots of models formed this way, so a huge revision is welcomed. We need to solve the migrations issue first, though...

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

2 participants