*backend/api/models.py
For the School model, added the attributes unique=Trueand db_collation='case_insensitive' to the name field.
Note that this change didn't generated a new migration since these attributes were previously added in the manual migration _0007_add_collation_unique_to_name_school_ but forgot to add them in the model declaration.
This PR fixes issue #46
Implementation
unique=True
anddb_collation='case_insensitive'
to the name field.Note that this change didn't generated a new migration since these attributes were previously added in the manual migration
_0007_add_collation_unique_to_name_school_
but forgot to add them in the model declaration.