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

Categorizer names can be non-unique #144

Open
khatchad opened this issue Nov 16, 2021 · 2 comments
Open

Categorizer names can be non-unique #144

khatchad opened this issue Nov 16, 2021 · 2 comments
Assignees

Comments

@khatchad
Copy link
Member

Categorizers could conceivably have the same name. Why is this field unique.

name = models.CharField(unique=True, max_length=254)

@mZneit
Copy link
Contributor

mZneit commented Nov 16, 2021

In the production database, this field is unique. If we change it to non-unique and do migrations, we'll get into error if we populate the data from the production db.

@mZneit
Copy link
Contributor

mZneit commented Nov 16, 2021

Similarly for #145.

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