[massive store] identity_relation should not be considered, is_relation seems missing
The "identity_relation" table should not even exist.
--- a/dataimport/massive_store.py Tue Nov 03 18:29:15 2015 +0100
+++ b/dataimport/massive_store.py Wed Oct 21 16:08:57 2015 +0200
@@ -345,7 +345,7 @@
def _drop_metatables_constraints(self):
""" Drop all the constraints for the meta data"""
for tablename in ('created_by_relation', 'owned_by_relation',
- 'is_instance_of_relation', 'identity_relation',
+ 'is_instance_of_relation', 'is_relation',
'entities'):
self.drop_and_store_indexes_constraints(tablename)
@@ -353,7 +353,7 @@
""" Create all the constraints for the meta data"""
for tablename in ('entities',
'created_by_relation', 'owned_by_relation',
- 'is_instance_of_relation', 'identity_relation'):
+ 'is_instance_of_relation', 'is_relation'):
# Indexes and constraints
if self.drop_index:
self.reapply_constraint_index(tablename)