misc/migration/bootstrapmigration_repository.py
changeset 8803 47dd517d6c6f
parent 8800 8ca1a0da5a29
child 8830 7fd6c52ef878
--- a/misc/migration/bootstrapmigration_repository.py	Tue Mar 26 12:26:12 2013 +0100
+++ b/misc/migration/bootstrapmigration_repository.py	Wed Mar 27 16:33:48 2013 +0100
@@ -41,6 +41,12 @@
         if not confirm('In cubicweb 3.17 sioc views have been moved to the sioc '
                        'cube, which is not installed.  Continue anyway?'):
             raise
+    try:
+        add_cube('embed', update_database=False)
+    except ImportError:
+        if not confirm('In cubicweb 3.17 embedding views have been moved to the embed '
+                       'cube, which is not installed.  Continue anyway?'):
+            raise
 
 if applcubicwebversion <= (3, 13, 0) and cubicwebversion >= (3, 13, 1):
     sql('ALTER TABLE entities ADD asource VARCHAR(64)')