diff --git a/python/src/stackdump/commands/import_site.py b/python/src/stackdump/commands/import_site.py index 6d73323..ebc17c6 100644 --- a/python/src/stackdump/commands/import_site.py +++ b/python/src/stackdump/commands/import_site.py @@ -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' ]