1
0
mirror of https://github.com/djohnlewis/stackdump synced 2024-12-04 15:07:36 +00:00

Oops, forgot to re-instate the comment index during the backout.

This commit is contained in:
Samuel Lai 2013-11-29 01:42:17 +11:00
parent 75a216f5a4
commit 77dd2def42

View File

@ -566,6 +566,8 @@ class Comment(SQLObject):
creationDate = DateTimeCol(datetimeFormat=ISO_DATE_FORMAT)
userId = IntCol()
siteId_postId_index = DatabaseIndex(siteId, postId)
_connection = comment_db_sqlhub
json_fields = [ 'id', 'score', 'text', 'creationDate', 'userId' ]