Skip to content

Commit

Permalink
updated backref in mbtiles model for created_by field
Browse files Browse the repository at this point in the history
  • Loading branch information
nrjadkry committed Aug 13, 2023
1 parent ca26b38 commit 362838a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app/db/db_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,4 +641,4 @@ class DbTilesPath(Base):
background_task_id = Column(String)
created_at = Column(DateTime, default=timestamp)
created_by_id = Column(BigInteger, ForeignKey("users.id"), primary_key=True)
created_by = relationship(DbUser, backref="user_roles")
created_by = relationship(DbUser, backref="mbtiles_created")

0 comments on commit 362838a

Please sign in to comment.