misc/migration/3.13.6_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 17 Feb 2016 14:00:39 +0100
changeset 11146 517e7cdd7b1b
parent 7826 65b7ea00bab8
permissions -rw-r--r--
[schema] restore constraint checking when running on old sqlite Old sqlite3 doesn't provide CHECK constraint names in error messages, preventing us from translating a backend integrity error into a ValidationError. This was added in 2012, but the sqlite3 version in RHEL6 is older; so if we run on old sqlite, keep checking the constraints in python rather than only in SQL. Closes #10927494
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7826
65b7ea00bab8 [schema] drop CWSourceSchemaConfig[cw_for_source,cw_schema] unique constraint (closes #1946277)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
sync_schema_props_perms('CWSourceSchemaConfig')