From 0b6ce2c57d53d947b15f0d429d2216df61ce3783 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sat, 1 May 2021 17:48:59 +0200 Subject: tables: Fix up a note, add another for the Network table --- quarg/database/tables.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'quarg/database') diff --git a/quarg/database/tables.py b/quarg/database/tables.py index ea82f52..10e6057 100644 --- a/quarg/database/tables.py +++ b/quarg/database/tables.py @@ -7,8 +7,8 @@ from sqlalchemy.orm import relationship Base = declarative_base() -# Note: To keep SQLAlchemy from selecting columns that we will never end up -# using, we have commented out unused ones +# Note: We have commented out unused columns to keep SQLAlchemy from selecting +# ones that we never end up using class Backlog(Base): __tablename__ = 'backlog' @@ -59,6 +59,8 @@ class QuasselUser(Base): # hashversion = Column(Integer) # authenticator = Column(Text) +# The following table is huge and largely irrelevant for quarg, so instead of +# commenting out unused columns, don't even bother listing them all class Network(Base): __tablename__ = 'network' networkid = Column(Integer, primary_key=True) -- cgit v1.2.3-2-gb3c3