File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ class Client(BaseMixin, db.Model):
17
17
#: User who owns this client
18
18
user_id = db .Column (db .Integer , db .ForeignKey ('user.id' ), nullable = True )
19
19
user = db .relationship (User , primaryjoin = user_id == User .id ,
20
- backref = db .backref ('clients' , cascade = "all, delete-orphan " ))
20
+ backref = db .backref ('clients' , cascade = "all" ))
21
21
#: Organization that owns this client. Only one of this or user must be set
22
22
org_id = db .Column (db .Integer , db .ForeignKey ('organization.id' ), nullable = True )
23
23
org = db .relationship (Organization , primaryjoin = org_id == Organization .id ,
24
- backref = db .backref ('clients' , cascade = "all, delete-orphan " ))
24
+ backref = db .backref ('clients' , cascade = "all" ))
25
25
#: Human-readable title
26
26
title = db .Column (db .Unicode (250 ), nullable = False )
27
27
#: Long description
You can’t perform that action at this time.
0 commit comments