server/migractions.py
changeset 10553 1d824df4f2bd
parent 10473 23a2fa8cb725
child 10569 af47954c1015
child 10571 2cd8933fd875
--- a/server/migractions.py	Fri Jul 17 16:48:43 2015 +0200
+++ b/server/migractions.py	Tue Jul 28 09:25:26 2015 +0200
@@ -1020,7 +1020,8 @@
             print 'warning: relation type %s is already known, skip addition' % (
                 rtype)
         elif rschema.rule:
-            ss.execschemarql(execute, rschema, ss.crschema2rql(rschema))
+            gmap = self.group_mapping()
+            ss.execschemarql(execute, rschema, ss.crschema2rql(rschema, gmap))
         else:
             # register the relation into CWRType and insert necessary relation
             # definitions