Skip to content

Commit

Permalink
chore: update testinstace table name
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-sentry committed Jan 9, 2024
1 parent c003aa3 commit f296188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/models/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ class Test(CodecovBaseModel, MixinBaseClass):


class TestInstance(CodecovBaseModel, MixinBaseClass):
__tablename__ = "reports_testrun"
__tablename__ = "reports_testinstance"
test_id = Column(types.Integer, ForeignKey("reports_test.id"))
test = relationship(Test, backref=backref("testruns"))
duration_seconds = Column(types.Float, nullable=False)
Expand Down

0 comments on commit f296188

Please sign in to comment.