misc/migration/3.9.5_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 23 Mar 2015 14:28:48 +0100
changeset 10284 fb113f9fa7d8
parent 6105 a648c832da1f
permissions -rw-r--r--
[migration] sync_schema_props_perms should skip computed relations. Closes #5147796

if not rql('CWConstraintType X WHERE X name "RQLUniqueConstraint"',
           ask_confirm=False):
    rql('INSERT CWConstraintType X: X name "RQLUniqueConstraint"',
        ask_confirm=False)