From 183ce765a7fadb62a4b45b424d36c6512d8eeecd Mon Sep 17 00:00:00 2001 From: Ronald Date: Sun, 7 Jul 2024 20:18:12 +0100 Subject: [PATCH] Update table name --- api/sql_app/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/sql_app/models.py b/api/sql_app/models.py index 3f661dd..e2deef3 100644 --- a/api/sql_app/models.py +++ b/api/sql_app/models.py @@ -4,7 +4,7 @@ from .database import Base class Record(Base): - __tablename__ = "th" + __tablename__ = "records" id = Column(Integer, primary_key=True) time = Column(DateTime, unique=False, index=True)