aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorWolfgang Müller2021-05-01 17:48:59 +0200
committerWolfgang Müller2021-05-01 17:49:23 +0200
commit0b6ce2c57d53d947b15f0d429d2216df61ce3783 (patch)
tree162c32a8185cb8f0d5daf64c3de9944c2487b8aa
parentc69598f4f8deb98071c9908f84efba94a1a02321 (diff)
downloadquarg-0b6ce2c57d53d947b15f0d429d2216df61ce3783.tar.gz
tables: Fix up a note, add another for the Network table
Diffstat (limited to '')
-rw-r--r--quarg/database/tables.py6
1 files changed, 4 insertions, 2 deletions
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)