##// END OF EJS Templates
cascade delete extra emails on user delete
marcink -
r2562:78f96d7b beta
parent child Browse files
Show More
@@ -329,6 +329,8 b' class User(Base, BaseModel):'
329 user_created_notifications = relationship('Notification', cascade='all')
329 user_created_notifications = relationship('Notification', cascade='all')
330 # comments created by this user
330 # comments created by this user
331 user_comments = relationship('ChangesetComment', cascade='all')
331 user_comments = relationship('ChangesetComment', cascade='all')
332 #extra emails for this user
333 user_emails = relationship('UserEmailMap', cascade='all')
332
334
333 @hybrid_property
335 @hybrid_property
334 def email(self):
336 def email(self):
General Comments 0
You need to be logged in to leave comments. Login now