# HG changeset patch # User Adrien Di Mascio # Date 1233068578 -3600 # Node ID 71376fda9b36c1350f513c14601245014a18763f # Parent 79eccee3004918d9d484a23037c1579dfc8a9b30 insert missing is_instance_of relations during db-init diff -r 79eccee30049 -r 71376fda9b36 server/__init__.py --- a/server/__init__.py Tue Jan 27 13:52:50 2009 +0100 +++ b/server/__init__.py Tue Jan 27 16:02:58 2009 +0100 @@ -113,6 +113,8 @@ for eid, etype in needisfix: handler.session.unsafe_execute('SET X is E WHERE X eid %(x)s, E name %(name)s', {'x': eid, 'name': etype}, 'x') + handler.session.unsafe_execute('SET X is_instance_of E WHERE X eid %(x)s, E name %(name)s', + {'x': eid, 'name': etype}, 'x') # insert versions handler.cmd_add_entity('EProperty', pkey=u'system.version.cubicweb', value=unicode(config.cubicweb_version()))