diff --git a/mitama/models/permissions.py b/mitama/models/permissions.py index 29531df..7f4b664 100644 --- a/mitama/models/permissions.py +++ b/mitama/models/permissions.py @@ -1,4 +1,4 @@ -from mitama.db import DatabaseManager, BaseDatabase, func, ForeignKey, relationship, Table, backref +from mitama.db import DatabaseManager, BaseDatabase, func, ForeignKey, relationship, Table from mitama.db.types import Column, Group, Integer, LargeBinary from mitama.db.types import Node as NodeType from mitama.db.types import String @@ -97,7 +97,6 @@ class InnerPermission(db_.Model): roles = relationship( "InnerRole", secondary=inner_role_permission, - backref="permissions", cascade="all, delete" )