misc/migration/bootstrapmigration_repository.py
branchtls-sprint
changeset 1501 c80ca83a382f
parent 1399 3f408c7a164e
child 1952 8e19c813750d
--- a/misc/migration/bootstrapmigration_repository.py	Tue Apr 28 14:24:16 2009 +0200
+++ b/misc/migration/bootstrapmigration_repository.py	Tue Apr 28 14:37:19 2009 +0200
@@ -7,6 +7,9 @@
 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 """
 
+if applcubicwebversion < (3, 2, 0) and cubicwebversion >= (3, 2, 0):
+   add_cube('card', update_database=False)
+
 if applcubicwebversion < (2, 47, 0) and cubicwebversion >= (2, 47, 0):
     from cubicweb.server import schemaserial
     schemaserial.HAS_FULLTEXT_CONTAINER = False
@@ -15,7 +18,7 @@
     schemaserial.HAS_FULLTEXT_CONTAINER = True
 
 
- 
+
 if applcubicwebversion < (2, 50, 0) and cubicwebversion >= (2, 50, 0):
     session.set_shared_data('do-not-insert-is_instance_of', True)
     add_relation_type('is_instance_of')
@@ -40,4 +43,4 @@
     sql('CREATE INDEX deleted_entities_dtime_idx ON deleted_entities(dtime)')
     sql('CREATE INDEX deleted_entities_extid_idx ON deleted_entities(extid)')
     checkpoint()
-   
+