Commit b20f399c authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[schema] Schema patches until skos 0.12.1 is released

including DB indexes for kind and language_code.
parent 042b0aaafba5
......@@ -100,6 +100,10 @@ class title(RelationDefinition):
language_code = skos.Label.get_relation('language_code')
language_code.constraints[0].max = 6
# XXX code below may be dropped once https://www.cubicweb.org/ticket/14037638 is released
language_code.indexed = True
kind = skos.Label.get_relation('kind')
kind.indexed = True
def post_build_callback(schema):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment