Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Documentation
Commits
fe9007f1
Commit
fe9007f1
authored
2 years ago
by
ml bonhomme
Committed by
Erwan Rouchet
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Document entity type export table
parent
28d39462
No related branches found
Branches containing commit
No related tags found
1 merge request
!89
Document entity type export table
Pipeline
#13890
passed
2 years ago
Stage: test
Stage: build
Stage: deploy
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
content/project/export/index.md
+11
-3
11 additions, 3 deletions
content/project/export/index.md
content/project/export/structure.svg
+1
-1
1 addition, 1 deletion
content/project/export/structure.svg
content/project/export/structure.txt
+2
-0
2 additions, 0 deletions
content/project/export/structure.txt
with
14 additions
and
4 deletions
content/project/export/index.md
+
11
−
3
View file @
fe9007f1
...
...
@@ -60,13 +60,21 @@ parent_id | `VARCHAR(37)` | UUID of the parent element.
child_id |
`VARCHAR(37)`
| UUID of the child element.
ordering |
`INTEGER`
| Position of the child within the parent.
### entity_type
Name | Type | Description
---- | ---- | -----------
id |
`VARCHAR(37)`
| UUID of the entity type.
name |
`TEXT`
| Name of the entity type.
color |
`VARCHAR(6)`
| Color used for the entity type in the frontend.
### entity
Name | Type | Description
---- | ---- | -----------
id |
`VARCHAR(37)`
| UUID of the entity.
name |
`TEXT`
| Name of the entity.
type |
`VARCHAR(
50
)`
|
Type
of the entity
(
`person`
,
`location`
, …)
type
_id
|
`VARCHAR(
37
)`
|
UUID
of the entity
type of the entity.
validated |
`INTEGER`
| Validation state of the entity (0 or 1).
moderator |
`VARCHAR(255)`
| Email of a user that validated the entity. Null if the entity was not validated.
metas |
`TEXT`
| Arbitrary metadata about the entity, as a JSON object with string values. Nullable.
...
...
@@ -88,8 +96,8 @@ Name | Type | Description
id |
`VARCHAR(37)`
| UUID of the entity role.
parent_name |
`VARCHAR(250)`
| Name of the parent entity in a link, such as "employer".
child_name |
`VARCHAR(250)`
| Name of the child entity in a link, such as "employee".
parent_type |
`VARCHAR(
50
)`
|
T
ype of parent entities that can have this role in a link.
child_type |
`VARCHAR(
50
)`
|
T
ype of child entities that can have this role in a link.
parent_type
_id
|
`VARCHAR(
37
)`
|
UUID of the entity t
ype of
the
parent entities that can have this role in a link.
child_type
_id
|
`VARCHAR(
37
)`
|
UUID of the entity t
ype of
the
child entities that can have this role in a link.
### image
...
...
This diff is collapsed.
Click to expand it.
content/project/export/structure.svg
+
1
−
1
View file @
fe9007f1
This diff is collapsed.
Click to expand it.
content/project/export/structure.txt
+
2
−
0
View file @
fe9007f1
...
...
@@ -8,6 +8,8 @@ graph LR
classification --> element
classification --> worker_version
entity --> worker_version
entity --> entity_type
entity_role --> entity_type
entity_link --> entity
entity_link --> entity_role
transcription_entity --> transcription
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment