diff options
author | Jacob Mason <jacoblmason@gmail.com> | 2010-08-14 17:59:31 -0500 |
---|---|---|
committer | Jacob Mason <jacoblmason@gmail.com> | 2010-08-14 17:59:31 -0500 |
commit | a52fd809bf0eecefc1b5aba3c05d6d56a1f66538 (patch) | |
tree | 9a0f04309e30955d74374d7056ee67afdcda9f6e /sphinx/websupport/storage/db.py | |
parent | f94df908bcc73701d96de8b99ff5d034d6186ba6 (diff) | |
download | sphinx-git-a52fd809bf0eecefc1b5aba3c05d6d56a1f66538.tar.gz |
remove line column from node table
Diffstat (limited to 'sphinx/websupport/storage/db.py')
-rw-r--r-- | sphinx/websupport/storage/db.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sphinx/websupport/storage/db.py b/sphinx/websupport/storage/db.py index 54b16f225..be81a3334 100644 --- a/sphinx/websupport/storage/db.py +++ b/sphinx/websupport/storage/db.py @@ -31,7 +31,6 @@ class Node(Base): id = Column(String(32), primary_key=True) document = Column(String(256), nullable=False) - line = Column(Integer) source = Column(Text, nullable=False) def nested_comments(self, username, moderator): @@ -94,10 +93,9 @@ class Node(Base): return comments - def __init__(self, id, document, line, source): + def __init__(self, id, document, source): self.id = id self.document = document - self.line = line self.source = source class Comment(Base): |