mirror of
https://github.com/djohnlewis/stackdump
synced 2024-12-04 23:17:37 +00:00
Oops, forgot to re-instate the comment index during the backout.
This commit is contained in:
parent
75a216f5a4
commit
77dd2def42
@ -566,6 +566,8 @@ class Comment(SQLObject):
|
|||||||
creationDate = DateTimeCol(datetimeFormat=ISO_DATE_FORMAT)
|
creationDate = DateTimeCol(datetimeFormat=ISO_DATE_FORMAT)
|
||||||
userId = IntCol()
|
userId = IntCol()
|
||||||
|
|
||||||
|
siteId_postId_index = DatabaseIndex(siteId, postId)
|
||||||
|
|
||||||
_connection = comment_db_sqlhub
|
_connection = comment_db_sqlhub
|
||||||
|
|
||||||
json_fields = [ 'id', 'score', 'text', 'creationDate', 'userId' ]
|
json_fields = [ 'id', 'score', 'text', 'creationDate', 'userId' ]
|
||||||
|
Loading…
Reference in New Issue
Block a user