Skip to content

Commit

Permalink
fix: add PID field for study in DB backend #287
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Nov 11, 2021
1 parent cf7c40b commit 18379be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions datagateway_api/common/database/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1229,6 +1229,7 @@ class STUDY(Base, EntityHelper, metaclass=EntityMeta):
modId = Column("MOD_ID", String(255), nullable=False)
modTime = Column("MOD_TIME", DateTime, nullable=False)
name = Column("NAME", String(255), nullable=False)
pid = Column("PID", String(255))
startDate = Column("STARTDATE", DateTime)
status = Column("STATUS", Integer)
userID = Column("USER_ID", ForeignKey("USER_.ID"), index=True)
Expand Down

0 comments on commit 18379be

Please sign in to comment.