Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
eac
Commits
ec7014fe670c
Commit
8aae66bd
authored
Nov 16, 2021
by
Katia Saurfelt
Browse files
fix(schema): add vocabulary_source on PlaceEntry
parent
ca287d7338c0
Pipeline
#94171
failed with stages
in 4 minutes and 30 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cubicweb_eac/migration/1.2.0_Any.py
0 → 100644
View file @
ec7014fe
add_relation_definition
(
"PlaceEntry"
,
"vocabulary_source"
,
"ConceptScheme"
)
drop_relation_definition
(
"AgentPlace"
,
"vocabulary_source"
,
"ConceptScheme"
)
cubicweb_eac/schema.py
View file @
ec7014fe
...
...
@@ -669,7 +669,7 @@ class source_agent(RelationDefinition):
class
vocabulary_source
(
RelationDefinition
):
subject
=
(
"Mandate"
,
"LegalStatus"
,
"AgentFunction"
,
"
Agent
Place"
,
"Occupation"
)
subject
=
(
"Mandate"
,
"LegalStatus"
,
"AgentFunction"
,
"Place
Entry
"
,
"Occupation"
)
object
=
"ConceptScheme"
cardinality
=
"?*"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment