misc/migration/3.18.4_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 17 Feb 2016 14:00:39 +0100
changeset 11146 517e7cdd7b1b
parent 9541 e8040107b97e
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:
9541
e8040107b97e [schema] explicitly declare 'add' permissions for a couple attributes
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff changeset
     1
sync_schema_props_perms('CWSource')
e8040107b97e [schema] explicitly declare 'add' permissions for a couple attributes
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff changeset
     2
sync_schema_props_perms('CWSourceHostConfig')