misc/migration/bootstrapmigration_repository.py
changeset 1977 606923dff11b
parent 1954 9b20f3504af8
child 2275 bc0bed0616a3
equal deleted inserted replaced
1976:851e08142873 1977:606923dff11b
     1 """allways executed before all others in server migration
     1 """allways executed before all others in server migration
     2 
     2 
     3 it should only include low level schema changes
     3 it should only include low level schema changes
     4 
     4 
     5 :organization: Logilab
     5 :organization: Logilab
     6 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     6 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
     7 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     7 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
       
     8 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
     8 """
     9 """
     9 
    10 
    10 if applcubicwebversion < (3, 2, 2) and cubicwebversion >= (3, 2, 1):
    11 if applcubicwebversion < (3, 2, 2) and cubicwebversion >= (3, 2, 1):
    11    from base64 import b64encode
    12    from base64 import b64encode
    12    for table in ('entities', 'deleted_entities'):
    13    for table in ('entities', 'deleted_entities'):