Mercurial > kallithea
changeset 7348:b45994c0779e
Merge stable
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 06 Aug 2018 01:05:18 +0200 |
parents | 9ec1d2ac4529 (current diff) bc166701b0c5 (diff) |
children | 6ce04fd9efd4 |
files | README.rst docs/administrator_guide/auth.rst docs/setup.rst kallithea/model/db.py kallithea/tests/functional/test_admin_permissions.py scripts/make-release |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/model/db.py Mon Aug 06 00:37:13 2018 +0200 +++ b/kallithea/model/db.py Mon Aug 06 01:05:18 2018 +0200 @@ -1525,7 +1525,6 @@ class RepoGroup(Base, BaseDbModel): __tablename__ = 'groups' __table_args__ = ( - CheckConstraint('group_id != group_parent_id', name='ck_groups_no_self_parent'), _table_args_default_dict, ) __mapper_args__ = {'order_by': 'group_name'} # TODO: Deprecated as of SQLAlchemy 1.1. @@ -1949,7 +1948,6 @@ __tablename__ = 'user_group_user_group_to_perm' __table_args__ = ( UniqueConstraint('target_user_group_id', 'user_group_id', 'permission_id'), - CheckConstraint('target_user_group_id != user_group_id', name='ck_user_group_user_group_to_perm_no_self_target'), _table_args_default_dict, )