From e944df3d7d431b5bd88c2c235501a355ea1ba6ab Mon Sep 17 00:00:00 2001 From: Parker Date: Tue, 5 Nov 2024 20:36:09 -0600 Subject: Fix auth and organization/standards --- models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'models.py') diff --git a/models.py b/models.py index 605b668..6061661 100644 --- a/models.py +++ b/models.py @@ -26,8 +26,8 @@ class Link(Base): expire_date = Column(DateTime, nullable=False) -class Record(Base): - __tablename__ = "records" +class Log(Base): + __tablename__ = "logs" id = Column(Integer, primary_key=True) owner = Column(Integer, ForeignKey("users.id"), nullable=False) link = Column(String, ForeignKey("links.link"), nullable=False) -- cgit v1.2.3-70-g09d2