mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-02 07:52:15 +02:00
Cleanup
This commit is contained in:
parent
92746e6061
commit
8f60631210
2 changed files with 4 additions and 3 deletions
|
@ -21,9 +21,10 @@ class PublicContact(TimeStampedModel):
|
|||
|
||||
class Meta:
|
||||
"""Contains meta info about this class"""
|
||||
|
||||
# Creates a composite primary key with these fields.
|
||||
# We can share the same registry id, but only if the contact type is
|
||||
# different or if the domain is different.
|
||||
# different or if the domain is different.
|
||||
# For instance - we don't desire to have two admin contacts with the same id
|
||||
# on the same domain.
|
||||
unique_together = [("contact_type", "registry_id", "domain")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue