[schema] drop CWSourceSchemaConfig[cw_for_source,cw_schema] unique constraint (closes #1946277)
as they are not necessarily unique, eg when one want a configuration for both
subject and object
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/migration/3.13.6_Any.py Thu Sep 22 15:55:58 2011 +0200
@@ -0,0 +1,1 @@
+sync_schema_props_perms('CWSourceSchemaConfig')
--- a/schemas/base.py Thu Sep 22 15:54:57 2011 +0200
+++ b/schemas/base.py Thu Sep 22 15:55:58 2011 +0200
@@ -331,7 +331,6 @@
class CWSourceSchemaConfig(EntityType):
__permissions__ = ENTITY_MANAGERS_PERMISSIONS
- __unique_together__ = [('cw_for_source', 'cw_schema')]
cw_for_source = SubjectRelation(
'CWSource', inlined=True, cardinality='1*', composite='object',
__permissions__=RELATION_MANAGERS_PERMISSIONS)