equal
deleted
inserted
replaced
37 if applcubicwebversion < (3, 17, 0) and cubicwebversion >= (3, 17, 0): |
37 if applcubicwebversion < (3, 17, 0) and cubicwebversion >= (3, 17, 0): |
38 try: |
38 try: |
39 add_cube('sioc', update_database=False) |
39 add_cube('sioc', update_database=False) |
40 except ImportError: |
40 except ImportError: |
41 if not confirm('In cubicweb 3.17 sioc views have been moved to the sioc ' |
41 if not confirm('In cubicweb 3.17 sioc views have been moved to the sioc ' |
|
42 'cube, which is not installed. Continue anyway?'): |
|
43 raise |
|
44 try: |
|
45 add_cube('embed', update_database=False) |
|
46 except ImportError: |
|
47 if not confirm('In cubicweb 3.17 embedding views have been moved to the embed ' |
42 'cube, which is not installed. Continue anyway?'): |
48 'cube, which is not installed. Continue anyway?'): |
43 raise |
49 raise |
44 |
50 |
45 if applcubicwebversion <= (3, 13, 0) and cubicwebversion >= (3, 13, 1): |
51 if applcubicwebversion <= (3, 13, 0) and cubicwebversion >= (3, 13, 1): |
46 sql('ALTER TABLE entities ADD asource VARCHAR(64)') |
52 sql('ALTER TABLE entities ADD asource VARCHAR(64)') |