--- a/ForgeTracker/forgetracker/model/issue.py
+++ b/ForgeTracker/forgetracker/model/issue.py
@@ -54,7 +54,7 @@
_id = FieldProperty(schema.ObjectId)
version = FieldProperty(0)
created_date = FieldProperty(datetime, if_missing=datetime.utcnow)
- project_id = FieldProperty(schema.ObjectId)
+ project_id = FieldProperty(str)
parent_id = FieldProperty(schema.ObjectId, if_missing=None)
issue_num = FieldProperty(int)
@@ -104,7 +104,7 @@
_id = FieldProperty(schema.ObjectId)
version = FieldProperty(0)
created_date = FieldProperty(datetime, if_missing=datetime.utcnow)
- project_id = FieldProperty(schema.ObjectId)
+ project_id = FieldProperty(str)
issue_id = ForeignIdProperty(Issue)
kind = FieldProperty(str, if_missing='comment')
@@ -140,7 +140,7 @@
_id = FieldProperty(schema.ObjectId)
version = FieldProperty(0)
created_date = FieldProperty(datetime, if_missing=datetime.utcnow)
- project_id = FieldProperty(schema.ObjectId)
+ project_id = FieldProperty(str)
issue_id = ForeignIdProperty(Issue)
file_type = FieldProperty(str)