debian/cubicweb-twisted.install.in
author Aurelien Campeas <aurelien.campeas@pythonian.fr>
Wed, 23 Sep 2015 15:00:33 +0200
changeset 10585 80236876ee4d
parent 9208 7ae95f48e2f0
permissions -rw-r--r--
[hooks/syncschema] only call "ALTER TABLE" once when changing a size constraint Until now we would: - remove the old size constraint from the in-memory schema - call update_rdef_column which removes the size restriction from the column's type - add the new constraint object - call update_rdef_column which adds the size restriction back This breaks on SQL Server when the column is involved in an index (e.g. as part of a multi-column unique constraint), because in the intermediate stage the column's type is "nvarchar(max)", which is not indexable. Of course we must still detect the case where a size constraint is really dropped and update the db schema accordingly. Closes #5557633.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9208
7ae95f48e2f0 [pkg] fix debian packaging (closes #3058542)
David Douard <david.douard@logilab.fr>
parents: 858
diff changeset
     1
usr/lib/PY_VERSION/*-packages/cubicweb/etwist/