--- a/misc/migration/bootstrapmigration_repository.py Fri Sep 10 15:09:31 2010 +0200
+++ b/misc/migration/bootstrapmigration_repository.py Fri Sep 10 16:48:58 2010 +0200
@@ -35,6 +35,9 @@
ss.execschemarql(rql, rdef, ss.rdef2rql(rdef, CSTRMAP, groupmap=None))
commit(ask_confirm=False)
+if applcubicwebversion < (3, 9, 6) and cubicwebversion >= (3, 9, 6):
+ add_entity_type('CWUniqueTogetherConstraint')
+
if applcubicwebversion == (3, 6, 0) and cubicwebversion >= (3, 6, 0):
CSTRMAP = dict(rql('Any T, X WHERE X is CWConstraintType, X name T',
ask_confirm=False))