[PATCH eac] Remove migration of date attributes for entities introduced in 0.9.0

Guillaume Vandevelde guillaume.vandevelde at logilab.fr
Thu Sep 5 11:53:19 CEST 2019


# HG changeset patch
# User Guillaume Vandevelde <gvandevelde at logilab.fr>
# Date 1567676274 -7200
#      Thu Sep 05 11:37:54 2019 +0200
# Node ID c5d7dd7ce847cdea31aeef0d58ce557350afa599
# Parent  268a347314f17a04559a48d3bd851863cb92e158
# Available At http://hg.logilab.org/review/cubes/eac
#              hg pull http://hg.logilab.org/review/cubes/eac -r c5d7dd7ce847
Remove migration of date attributes for entities introduced in 0.9.0

diff -r 268a347314f1 -r c5d7dd7ce847 cubicweb_eac/migration/0.9.0_Any.py
--- a/cubicweb_eac/migration/0.9.0_Any.py	Thu Sep 05 10:10:32 2019 +0200
+++ b/cubicweb_eac/migration/0.9.0_Any.py	Thu Sep 05 11:37:54 2019 +0200
@@ -36,8 +36,7 @@
 
 for etype in ('AssociationRelation', 'ChronologicalRelation',
               'HierarchicalRelation', 'Mandate', 'LegalStatus',
-              'HistoricalEvent', 'Occupation', 'EACFunctionRelation',
-              'EACResourceRelation'):
+              'Occupation', 'EACResourceRelation'):
     rql(
         """INSERT DateEntity D:
         E date_relation D, D start_date SD, D end_date ED WHERE



More information about the saem-devel mailing list