Skip to content

Commit

Permalink
add otherSideName attribute to absolute and relative age datamodel fi…
Browse files Browse the repository at this point in the history
…elds
  • Loading branch information
acwhite211 committed Nov 8, 2024
1 parent 3df5968 commit 527c750
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specifyweb/specify/datamodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -8408,7 +8408,7 @@
relationships=[
Relationship(name='agent1', type='many-to-one', required=False, relatedModelName='Agent', column='Agent1ID'),
Relationship(name='absoluteAgeAttachments', type='one-to-many', required=False, relatedModelName='AbsoluteAgeAttachment', otherSideName='absoluteAge', dependent=True),
Relationship(name='collectionObject', type='many-to-one', required=True, relatedModelName='CollectionObject', column='CollectionObjectID'),
Relationship(name='collectionObject', type='many-to-one', required=True, relatedModelName='CollectionObject', column='CollectionObjectID', otherSideName='absoluteAges'),
Relationship(name='absoluteAgeCitations', type='one-to-many',required=False, relatedModelName='AbsoluteAgeCitation', otherSideName='absoluteAge', dependent=True),
Relationship(name='createdByAgent', type='many-to-one', required=False, relatedModelName='Agent', column='CreatedByAgentID'),
Relationship(name='modifiedByAgent', type='many-to-one', required=False, relatedModelName='Agent', column='ModifiedByAgentID')
Expand Down Expand Up @@ -8456,7 +8456,7 @@
Relationship(name='agent1', type='many-to-one', required=False, relatedModelName='Agent', column='Agent1ID'),
Relationship(name='agent2', type='many-to-one', required=False, relatedModelName='Agent', column='Agent2ID'),
Relationship(name='relativeAgeAttachments', type='one-to-many', required=False, relatedModelName='RelativeAgeAttachment', otherSideName='relativeAge', dependent=True),
Relationship(name='collectionObject', type='many-to-one', required=True, relatedModelName='CollectionObject', column='CollectionObjectID'),
Relationship(name='collectionObject', type='many-to-one', required=True, relatedModelName='CollectionObject', column='CollectionObjectID', otherSideName='relativeAges'),
Relationship(name='relativeAgeCitations', type='one-to-many',required=False, relatedModelName='RelativeAgeCitation', otherSideName='relativeAge', dependent=True),
Relationship(name='createdByAgent', type='many-to-one', required=False, relatedModelName='Agent', column='CreatedByAgentID'),
Relationship(name='modifiedByAgent', type='many-to-one', required=False, relatedModelName='Agent', column='ModifiedByAgentID')
Expand Down

0 comments on commit 527c750

Please sign in to comment.