Show More
@@ -307,7 +307,11 b' class User(Base, BaseModel):' | |||||
307 |
|
307 | |||
308 | group_member = relationship('UsersGroupMember', cascade='all') |
|
308 | group_member = relationship('UsersGroupMember', cascade='all') | |
309 |
|
309 | |||
310 | notifications = relationship('UserNotification',) |
|
310 | notifications = relationship('UserNotification', cascade='all') | |
|
311 | # notifications assigned to this user | |||
|
312 | user_created_notifications = relationship('Notification', cascade='all') | |||
|
313 | # comments created by this user | |||
|
314 | user_comments = relationship('ChangesetComment', cascade='all') | |||
311 |
|
315 | |||
312 | @hybrid_property |
|
316 | @hybrid_property | |
313 | def email(self): |
|
317 | def email(self): |
General Comments 0
You need to be logged in to leave comments.
Login now