ponder-lab / Imperative-DL-Study-Web-App

0 stars 0 forks source link

Categorizer names can be non-unique #144

Open khatchad opened 2 years ago

khatchad commented 2 years ago

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

https://github.com/ponder-lab/Imperative-DL-Study-Web-App/blob/9531da86d25858ecaee7232177e4281700be548b/ponder/models.py#L63

mZneit commented 2 years ago

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 commented 2 years ago

Similarly for #145.