[schema] remove unique constraint on unlimited String attribute
authorJulien Cristau <julien.cristau@logilab.fr>
Tue, 29 Sep 2015 14:23:57 +0200
changeset 10624 48e54aabcd55
parent 10576 1ee631aedf2f
child 10625 684dbf6722ef
[schema] remove unique constraint on unlimited String attribute SQL Server doesn't allow indexing (and thus unique constraints) on nvarchar(max). Related to #7173702.
misc/migration/3.21.2_Any.py
schemas/base.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/migration/3.21.2_Any.py	Tue Sep 29 14:23:57 2015 +0200
@@ -0,0 +1,1 @@
+sync_schema_props_perms('cwuri')
--- a/schemas/base.py	Fri Jul 24 16:09:29 2015 +0200
+++ b/schemas/base.py	Tue Sep 29 14:23:57 2015 +0200
@@ -165,7 +165,6 @@
     cardinality = '11'
     subject = '*'
     object = 'String'
-    constraints = [UniqueConstraint()]
 
 
 # XXX find a better relation name