# HG changeset patch # User Sylvain Thénault # Date 1445436537 -7200 # Node ID 6205b89c3af6975d32f474df4d501f8e8711887c # Parent 252877c624f05acdb9a98b7365933adf70147325 [massive store] identity_relation should not be considered, is_relation seems missing The "identity_relation" table should not even exist. diff -r 252877c624f0 -r 6205b89c3af6 dataimport/massive_store.py --- 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)