misc/migration/bootstrapmigration_repository.py
branchtls-sprint
changeset 1398 5fe84a5f7035
parent 0 b97547f5f1fa
child 1399 3f408c7a164e
equal deleted inserted replaced
1397:6cbc7bc8ea6d 1398:5fe84a5f7035
     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-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     6 :copyright: 2001-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     7 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     7 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
     8 """
     8 """
     9 
     9 
    10 if applcubicwebversion < (2, 47, 0) and cubicwebversion >= (2, 47, 0):
    10 if applcubicwebversion < (2, 47, 0) and cubicwebversion >= (2, 47, 0):
    11     from cubicweb.server import schemaserial
    11     from cubicweb.server import schemaserial
    12     schemaserial.HAS_FULLTEXT_CONTAINER = False
    12     schemaserial.HAS_FULLTEXT_CONTAINER = False
    13     cnx.set_shared_data('do-not-insert-is_instance_of', True)
    13     cnx.set_shared_data('do-not-insert-is_instance_of', True)
    14     add_attribute('ERType', 'fulltext_container')
    14     add_attribute('CWRType', 'fulltext_container')
    15     schemaserial.HAS_FULLTEXT_CONTAINER = True
    15     schemaserial.HAS_FULLTEXT_CONTAINER = True
    16 
    16 
    17 
    17 
    18  
    18  
    19 if applcubicwebversion < (2, 50, 0) and cubicwebversion >= (2, 50, 0):
    19 if applcubicwebversion < (2, 50, 0) and cubicwebversion >= (2, 50, 0):