cubicweb/misc/migration/3.24.0_Any.py
branch3.24
changeset 11808 4a387179fa33
parent 11776 b49684ddd543
child 11890 01bfc50e1a47
--- a/cubicweb/misc/migration/3.24.0_Any.py	Tue Nov 08 18:34:22 2016 +0100
+++ b/cubicweb/misc/migration/3.24.0_Any.py	Tue Nov 08 18:37:47 2016 +0100
@@ -8,4 +8,6 @@
 sql('ALTER TABLE entities DROP COLUMN extid')
 sql('DROP INDEX entities_type_idx')
 
+# force cw_schema deletion before CWSourceSchemaConfig to avoid nasty bug
+drop_relation_type('cw_schema')
 drop_entity_type('CWSourceSchemaConfig')