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): |