misc/migration/3.8.1_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 09 Apr 2014 16:58:58 +0200
changeset 10015 57a16bef82c0
parent 5379 c082dea0731b
permissions -rw-r--r--
[migration] make sure the repo knows about all constraint types Adding new constraint types is cumbersome. It's easy to forget to do it in a migration script. So sync the constraint types at the beginning of each migration. Closes #3724892
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5379
c082dea0731b [schema] update for yams 0.29: BoundConstraint renamed to BoundaryConstraint; new constraint messages; ObjectRelation deprecated
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
rql('SET X name "BoundaryConstraint" '
c082dea0731b [schema] update for yams 0.29: BoundConstraint renamed to BoundaryConstraint; new constraint messages; ObjectRelation deprecated
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     2
    'WHERE X is CWConstraintType, X name "BoundConstraint"')