cubicweb/misc/migration/3.23.0_Any.py
changeset 11365 eedf0684533c
parent 11364 a702d31ddd8f
child 11406 8ed625765a5c
child 11433 a703f00718c2
--- a/cubicweb/misc/migration/3.23.0_Any.py	Wed Jun 22 14:35:43 2016 +0200
+++ b/cubicweb/misc/migration/3.23.0_Any.py	Mon Jun 20 15:10:24 2016 +0200
@@ -60,3 +60,6 @@
     sql('ALTER TABLE cw_%(e)s ADD CONSTRAINT %(c)s CHECK(%(v)s)' % args)
 
 commit()
+
+if 'identity_relation' in helper.list_tables(cnx.cnxset.cu):
+    sql('DROP TABLE identity_relation')