[migration] stop caching the mapping from constraint type name to eid
It's not so frequent that a cache seems necessary, and we were not
invalidating that cache when adding a new constraint type.
Related to #3724892.
--- a/server/migractions.py Tue Jun 17 17:53:31 2014 +0200
+++ b/server/migractions.py Mon Jul 07 16:07:57 2014 +0200
@@ -320,7 +320,6 @@
"""cached group mapping"""
return ss.group_mapping(self.cnx)
- @cached
def cstrtype_mapping(self):
"""cached constraint types mapping"""
return ss.cstrtype_mapping(self.cnx)