- Added `useAssetPickerController` for managing asset selection logic. - Created `AssetSelectProps` type for defining asset selection properties. - Implemented `AssetPickerDialog` for displaying the asset selection interface. - Developed `AssetPickerList` for rendering the list of selectable assets. - Introduced `AssetSelect` component for integrating the asset picker into forms. - Created `AssetList` component for shared asset listing functionality. - Added tests for workstation creation logic to ensure proper validation. - Implemented workstation asset fields and association fields for managing workstation assets. - Developed workstation lifecycle dialog for managing work profile states. - Added form progress component for visualizing multi-step forms.
1621 lines
54 KiB
Plaintext
1621 lines
54 KiB
Plaintext
erDiagram
|
|
direction LR
|
|
access_account_person_revision_values {
|
|
char ownerId PK,FK
|
|
char accountId FK
|
|
char personId FK
|
|
varchar startDate
|
|
varchar endDate "nullable"
|
|
varchar configuration "nullable"
|
|
}
|
|
access_account_person_values {
|
|
char ownerId PK,FK
|
|
char accountId FK
|
|
char personId FK
|
|
varchar startDate
|
|
varchar endDate "nullable"
|
|
varchar configuration "nullable"
|
|
}
|
|
access_account_revision_values {
|
|
char ownerId PK,FK
|
|
char systemId FK
|
|
char environmentId FK "nullable"
|
|
varchar login
|
|
varchar usage
|
|
tinyint active
|
|
varchar expiresOn "nullable"
|
|
text notes "nullable"
|
|
}
|
|
access_account_values {
|
|
char ownerId PK,FK
|
|
char systemId FK
|
|
char environmentId FK "nullable"
|
|
varchar login
|
|
varchar usage
|
|
tinyint active
|
|
varchar expiresOn "nullable"
|
|
text notes "nullable"
|
|
}
|
|
access_coverage_revision_values {
|
|
char ownerId PK,FK
|
|
char needId FK
|
|
char grantId FK
|
|
char accountPersonId FK
|
|
char membershipId FK "nullable"
|
|
varchar startDate
|
|
varchar endDate "nullable"
|
|
}
|
|
access_coverage_values {
|
|
char ownerId PK,FK
|
|
char needId FK
|
|
char grantId FK
|
|
char accountPersonId FK
|
|
char membershipId FK "nullable"
|
|
varchar startDate
|
|
varchar endDate "nullable"
|
|
}
|
|
access_current_values {
|
|
char ownerId
|
|
varchar kind
|
|
varchar name "nullable"
|
|
tinyint active "nullable"
|
|
char resourceTypeId "nullable"
|
|
mediumtext description "nullable"
|
|
char systemId "nullable"
|
|
char environmentId "nullable"
|
|
varchar login "nullable"
|
|
varchar usage "nullable"
|
|
varchar expiresOn "nullable"
|
|
mediumtext notes "nullable"
|
|
char accountId "nullable"
|
|
char personId "nullable"
|
|
varchar startDate "nullable"
|
|
varchar endDate "nullable"
|
|
varchar configuration "nullable"
|
|
varchar identifier "nullable"
|
|
char templateId "nullable"
|
|
char groupId "nullable"
|
|
varchar reference "nullable"
|
|
char resourceId "nullable"
|
|
char permissionId "nullable"
|
|
char needId "nullable"
|
|
char grantId "nullable"
|
|
char accountPersonId "nullable"
|
|
char membershipId "nullable"
|
|
}
|
|
access_environment_revision_values {
|
|
char ownerId PK,FK
|
|
varchar name
|
|
tinyint active
|
|
char systemId FK
|
|
}
|
|
access_environment_values {
|
|
char ownerId PK,FK
|
|
varchar name
|
|
tinyint active
|
|
char systemId FK
|
|
}
|
|
access_grant_revision_values {
|
|
char ownerId PK,FK
|
|
char resourceId FK
|
|
char permissionId FK
|
|
char accountId FK "nullable"
|
|
char groupId FK "nullable"
|
|
varchar startDate
|
|
varchar endDate "nullable"
|
|
varchar configuration
|
|
}
|
|
access_grant_values {
|
|
char ownerId PK,FK
|
|
char resourceId FK
|
|
char permissionId FK
|
|
char accountId FK "nullable"
|
|
char groupId FK "nullable"
|
|
varchar startDate
|
|
varchar endDate "nullable"
|
|
varchar configuration
|
|
}
|
|
access_group_revision_values {
|
|
char ownerId PK,FK
|
|
char systemId FK
|
|
char environmentId FK "nullable"
|
|
varchar name
|
|
tinyint active
|
|
varchar identifier
|
|
text description "nullable"
|
|
char templateId FK "nullable"
|
|
}
|
|
access_group_values {
|
|
char ownerId PK,FK
|
|
char systemId FK
|
|
char environmentId FK "nullable"
|
|
varchar name
|
|
tinyint active
|
|
varchar identifier
|
|
text description "nullable"
|
|
char templateId FK "nullable"
|
|
}
|
|
access_historical_values {
|
|
char ownerId
|
|
varchar kind
|
|
varchar name "nullable"
|
|
tinyint active "nullable"
|
|
char resourceTypeId "nullable"
|
|
mediumtext description "nullable"
|
|
char systemId "nullable"
|
|
char environmentId "nullable"
|
|
varchar login "nullable"
|
|
varchar usage "nullable"
|
|
varchar expiresOn "nullable"
|
|
mediumtext notes "nullable"
|
|
char accountId "nullable"
|
|
char personId "nullable"
|
|
varchar startDate "nullable"
|
|
varchar endDate "nullable"
|
|
varchar configuration "nullable"
|
|
varchar identifier "nullable"
|
|
char templateId "nullable"
|
|
char groupId "nullable"
|
|
varchar reference "nullable"
|
|
char resourceId "nullable"
|
|
char permissionId "nullable"
|
|
char needId "nullable"
|
|
char grantId "nullable"
|
|
char accountPersonId "nullable"
|
|
char membershipId "nullable"
|
|
}
|
|
access_items {
|
|
char id PK
|
|
char workspaceId FK
|
|
varchar kind
|
|
}
|
|
access_membership_revision_values {
|
|
char ownerId PK,FK
|
|
char accountId FK
|
|
char groupId FK
|
|
varchar startDate
|
|
varchar endDate "nullable"
|
|
varchar configuration
|
|
}
|
|
access_membership_values {
|
|
char ownerId PK,FK
|
|
char accountId FK
|
|
char groupId FK
|
|
varchar startDate
|
|
varchar endDate "nullable"
|
|
varchar configuration
|
|
}
|
|
access_need_permissions {
|
|
char ownerId PK,FK
|
|
int position PK
|
|
char permissionId FK
|
|
}
|
|
access_need_revision_permissions {
|
|
char ownerId PK,FK
|
|
int position PK
|
|
char permissionId FK
|
|
}
|
|
access_need_revision_values {
|
|
char ownerId PK,FK
|
|
char personId FK
|
|
char resourceId FK
|
|
varchar startDate
|
|
varchar endDate "nullable"
|
|
text notes "nullable"
|
|
}
|
|
access_need_values {
|
|
char ownerId PK,FK
|
|
char personId FK
|
|
char resourceId FK
|
|
varchar startDate
|
|
varchar endDate "nullable"
|
|
text notes "nullable"
|
|
}
|
|
access_permission_revision_values {
|
|
char ownerId PK,FK
|
|
varchar name
|
|
tinyint active
|
|
char resourceTypeId FK
|
|
text description "nullable"
|
|
}
|
|
access_permission_values {
|
|
char ownerId PK,FK
|
|
varchar name
|
|
tinyint active
|
|
char resourceTypeId FK
|
|
text description "nullable"
|
|
}
|
|
access_person_references {
|
|
char itemId PK,FK
|
|
char personId PK,FK
|
|
}
|
|
access_references {
|
|
int id PK
|
|
char itemId FK
|
|
char targetId FK
|
|
}
|
|
access_resource_revision_values {
|
|
char ownerId PK,FK
|
|
varchar name
|
|
tinyint active
|
|
char resourceTypeId FK
|
|
char systemId FK "nullable"
|
|
char environmentId FK "nullable"
|
|
varchar reference "nullable"
|
|
text notes "nullable"
|
|
}
|
|
access_resource_type_revision_values {
|
|
char ownerId PK,FK
|
|
varchar name
|
|
tinyint active
|
|
}
|
|
access_resource_type_values {
|
|
char ownerId PK,FK
|
|
varchar name
|
|
tinyint active
|
|
}
|
|
access_resource_values {
|
|
char ownerId PK,FK
|
|
varchar name
|
|
tinyint active
|
|
char resourceTypeId FK
|
|
char systemId FK "nullable"
|
|
char environmentId FK "nullable"
|
|
varchar reference "nullable"
|
|
text notes "nullable"
|
|
}
|
|
access_revisions {
|
|
char id PK
|
|
char itemId FK
|
|
int sequence
|
|
char actorId FK
|
|
varchar recordedAt
|
|
}
|
|
access_system_revision_values {
|
|
char ownerId PK,FK
|
|
varchar name
|
|
tinyint active
|
|
}
|
|
access_system_values {
|
|
char ownerId PK,FK
|
|
varchar name
|
|
tinyint active
|
|
}
|
|
access_template_revision_values {
|
|
char ownerId PK,FK
|
|
varchar name
|
|
tinyint active
|
|
text description "nullable"
|
|
char systemId FK "nullable"
|
|
}
|
|
access_template_values {
|
|
char ownerId PK,FK
|
|
varchar name
|
|
tinyint active
|
|
text description "nullable"
|
|
char systemId FK "nullable"
|
|
}
|
|
access_workspaces {
|
|
char id PK
|
|
char companyId FK "nullable"
|
|
varchar scopeKey
|
|
}
|
|
application_configuration_revisions {
|
|
char id PK
|
|
char configurationId FK
|
|
int position
|
|
char actorId FK
|
|
varchar recordedAt
|
|
char profileId FK "nullable"
|
|
char resourceId FK "nullable"
|
|
varchar delivery
|
|
varchar version "nullable"
|
|
varchar state
|
|
text notes "nullable"
|
|
}
|
|
application_configurations {
|
|
char id PK
|
|
char companyId FK
|
|
char profileId FK
|
|
char resourceId FK
|
|
varchar currentKey "nullable"
|
|
varchar delivery
|
|
varchar version "nullable"
|
|
varchar state
|
|
text notes "nullable"
|
|
}
|
|
asset_availability {
|
|
char id PK
|
|
char catalogId FK
|
|
char companyId FK
|
|
char definitionId FK
|
|
tinyint active "nullable"
|
|
}
|
|
asset_brands {
|
|
char id PK
|
|
varchar name
|
|
tinyint active
|
|
tinyint builtin
|
|
text logoSvg "nullable"
|
|
}
|
|
asset_catalogs {
|
|
char id PK
|
|
varchar catalogKey
|
|
}
|
|
asset_characteristics {
|
|
char assetId PK,FK
|
|
char fieldId PK,FK
|
|
varchar valueType
|
|
text textValue "nullable"
|
|
double numberValue "nullable"
|
|
tinyint booleanValue "nullable"
|
|
date dateValue "nullable"
|
|
}
|
|
asset_definitions {
|
|
char id PK
|
|
char catalogId FK
|
|
char companyId FK "nullable"
|
|
varchar stockKey "nullable"
|
|
tinyint active
|
|
varchar kind
|
|
varchar name
|
|
text description
|
|
varchar fieldType "nullable"
|
|
varchar unit "nullable"
|
|
varchar inverseName "nullable"
|
|
tinyint symmetric "nullable"
|
|
tinyint sectionsDefined
|
|
varchar icon "nullable"
|
|
}
|
|
asset_field_choices {
|
|
char fieldId PK,FK
|
|
int position PK
|
|
varchar value
|
|
}
|
|
asset_relationships {
|
|
char id PK
|
|
char companyId FK
|
|
char sourceId FK
|
|
char targetId FK
|
|
char typeId FK
|
|
char createdBy FK
|
|
varchar createdAt
|
|
char endedBy FK "nullable"
|
|
varchar endedAt "nullable"
|
|
varchar activeKey "nullable"
|
|
varchar name
|
|
varchar inverseName
|
|
tinyint symmetric
|
|
text notes
|
|
}
|
|
asset_revision_characteristics {
|
|
char revisionId PK,FK
|
|
char assetId FK
|
|
char fieldId PK,FK
|
|
varchar valueType
|
|
text textValue "nullable"
|
|
double numberValue "nullable"
|
|
tinyint booleanValue "nullable"
|
|
date dateValue "nullable"
|
|
}
|
|
asset_revisions {
|
|
char id PK
|
|
char assetId FK
|
|
char actorId FK
|
|
varchar recordedAt
|
|
int position
|
|
char siteId FK "nullable"
|
|
char brandId FK "nullable"
|
|
varchar name
|
|
varchar status
|
|
text notes
|
|
char templateId FK
|
|
tinyint brandDefined
|
|
}
|
|
asset_specification_field_choices {
|
|
char assetId PK,FK
|
|
char fieldId PK,FK
|
|
int position PK
|
|
varchar value
|
|
}
|
|
asset_specification_fields {
|
|
char assetId PK,FK
|
|
char fieldId PK,FK
|
|
varchar name
|
|
varchar fieldType
|
|
varchar unit
|
|
tinyint required
|
|
char sectionId FK "nullable"
|
|
int position
|
|
}
|
|
asset_specification_sections {
|
|
char assetId PK,FK
|
|
char id PK
|
|
varchar name
|
|
text description
|
|
int position
|
|
}
|
|
asset_support {
|
|
char id PK
|
|
char companyId FK
|
|
char assetId FK
|
|
char preferredKey "nullable"
|
|
varchar destination
|
|
tinyint requiresVpn
|
|
tinyint preferred
|
|
varchar state
|
|
text notes
|
|
char resourceId FK
|
|
}
|
|
asset_support_revisions {
|
|
char id PK
|
|
char connectionId FK
|
|
char actorId FK
|
|
varchar recordedAt
|
|
int position
|
|
varchar destination
|
|
tinyint requiresVpn
|
|
tinyint preferred
|
|
varchar state
|
|
text notes
|
|
char resourceId FK
|
|
}
|
|
asset_template_fields {
|
|
char id PK
|
|
char templateId FK
|
|
char fieldId FK
|
|
tinyint required
|
|
int position
|
|
char sectionId FK "nullable"
|
|
}
|
|
asset_template_sections {
|
|
char id PK
|
|
char templateId FK
|
|
varchar name
|
|
text description
|
|
int position
|
|
}
|
|
assets {
|
|
char id PK
|
|
char companyId FK
|
|
char templateId FK
|
|
char siteId FK "nullable"
|
|
char brandId FK "nullable"
|
|
varchar name
|
|
varchar status
|
|
text notes
|
|
varchar templateName
|
|
tinyint sectionsDefined
|
|
tinyint brandDefined
|
|
}
|
|
brand_catalog_lock {
|
|
int id PK
|
|
tinyint legacyImported
|
|
tinyint logosImported
|
|
}
|
|
certificate_configuration_revisions {
|
|
char id PK
|
|
char configurationId FK
|
|
int position
|
|
char actorId FK
|
|
varchar recordedAt
|
|
char profileId FK "nullable"
|
|
char resourceId FK "nullable"
|
|
varchar location "nullable"
|
|
varchar state
|
|
text notes "nullable"
|
|
}
|
|
certificate_configurations {
|
|
char id PK
|
|
char companyId FK
|
|
char profileId FK
|
|
char resourceId FK
|
|
varchar currentKey "nullable"
|
|
varchar location "nullable"
|
|
varchar state
|
|
text notes "nullable"
|
|
}
|
|
companies {
|
|
char id PK
|
|
varchar name
|
|
tinyint active
|
|
varchar logoVersion "nullable"
|
|
}
|
|
company_contacts {
|
|
char id PK
|
|
char companyId FK
|
|
varchar name
|
|
varchar position "nullable"
|
|
varchar email "nullable"
|
|
varchar phone "nullable"
|
|
tinyint active
|
|
tinyint isContact
|
|
varchar photoVersion "nullable"
|
|
}
|
|
company_departments {
|
|
char id PK
|
|
char companyId FK
|
|
varchar name
|
|
varchar nameKey
|
|
tinyint active
|
|
}
|
|
company_logos {
|
|
char companyId PK,FK
|
|
mediumblob data
|
|
varchar version
|
|
}
|
|
company_sites {
|
|
char id PK
|
|
char companyId FK
|
|
varchar name
|
|
text address "nullable"
|
|
varchar phone "nullable"
|
|
}
|
|
department_assignment_revisions {
|
|
char id PK
|
|
char assignmentId FK
|
|
int sequence
|
|
varchar position "nullable"
|
|
date startDate
|
|
date endDate "nullable"
|
|
tinyint isPrimary
|
|
varchar recordedAt
|
|
}
|
|
folder_mapping_revisions {
|
|
char id PK
|
|
char mappingId FK
|
|
int position
|
|
char actorId FK
|
|
varchar recordedAt
|
|
char profileId FK "nullable"
|
|
char needId FK "nullable"
|
|
varchar path
|
|
varchar driveLetter "nullable"
|
|
varchar state
|
|
text notes "nullable"
|
|
}
|
|
folder_mappings {
|
|
char id PK
|
|
char companyId FK
|
|
char profileId FK
|
|
char needId FK
|
|
varchar currentKey "nullable"
|
|
varchar driveKey "nullable"
|
|
varchar path
|
|
varchar driveLetter "nullable"
|
|
varchar state
|
|
text notes "nullable"
|
|
}
|
|
http_sessions {
|
|
varchar sid PK
|
|
datetime expires "nullable"
|
|
datetime createdAt
|
|
datetime updatedAt
|
|
char userId FK "nullable"
|
|
int authVersion "nullable"
|
|
varchar csrfToken "nullable"
|
|
varchar cookieExpires "nullable"
|
|
bigint originalMaxAge "nullable"
|
|
varchar cookiePath "nullable"
|
|
varchar cookieDomain "nullable"
|
|
varchar cookieSecure "nullable"
|
|
tinyint cookieHttpOnly "nullable"
|
|
varchar cookieSameSite "nullable"
|
|
tinyint cookiePartitioned "nullable"
|
|
varchar cookiePriority "nullable"
|
|
}
|
|
identity_state {
|
|
int id PK
|
|
char initialAdminId FK "nullable"
|
|
}
|
|
intervention_counter {
|
|
int id PK
|
|
int nextNumber
|
|
}
|
|
intervention_procedure_steps {
|
|
char ownerId PK,FK
|
|
char stepId PK
|
|
int position
|
|
varchar title
|
|
text instructions
|
|
tinyint required
|
|
}
|
|
intervention_procedures {
|
|
char interventionId PK,FK
|
|
char templateId FK
|
|
char revisionId FK
|
|
varchar name
|
|
text description
|
|
tinyint active
|
|
}
|
|
intervention_revision_steps {
|
|
char ownerId PK,FK
|
|
char stepId PK
|
|
int position
|
|
varchar title
|
|
text instructions
|
|
tinyint required
|
|
varchar state
|
|
text notes
|
|
}
|
|
intervention_revision_targets {
|
|
char ownerId PK,FK
|
|
int position PK
|
|
char personId FK "nullable"
|
|
char workstationId FK "nullable"
|
|
char assetId FK "nullable"
|
|
char resourceId FK "nullable"
|
|
}
|
|
intervention_revisions {
|
|
char id PK
|
|
char interventionId FK
|
|
char actorId FK
|
|
char ticketId FK "nullable"
|
|
char assigneeId FK "nullable"
|
|
varchar recordedAt
|
|
int position
|
|
varchar subject
|
|
varchar state
|
|
varchar modality
|
|
date plannedDate "nullable"
|
|
varchar startedAt "nullable"
|
|
varchar endedAt "nullable"
|
|
int minutes "nullable"
|
|
text diagnosis
|
|
text workPerformed
|
|
text resolution
|
|
}
|
|
intervention_steps {
|
|
char ownerId PK,FK
|
|
char stepId PK
|
|
int position
|
|
varchar title
|
|
text instructions
|
|
tinyint required
|
|
varchar state
|
|
text notes
|
|
}
|
|
intervention_targets {
|
|
char ownerId PK,FK
|
|
int position PK
|
|
char personId FK "nullable"
|
|
char workstationId FK "nullable"
|
|
char assetId FK "nullable"
|
|
char resourceId FK "nullable"
|
|
}
|
|
intervention_template_lock {
|
|
int id PK
|
|
}
|
|
intervention_template_revision_steps {
|
|
char ownerId PK,FK
|
|
char stepId PK
|
|
int position
|
|
varchar title
|
|
text instructions
|
|
tinyint required
|
|
}
|
|
intervention_template_revisions {
|
|
char id PK
|
|
char templateId FK
|
|
char actorId FK "nullable"
|
|
varchar recordedAt
|
|
int position
|
|
varchar name
|
|
text description
|
|
tinyint active
|
|
}
|
|
intervention_template_steps {
|
|
char ownerId PK,FK
|
|
char stepId PK
|
|
int position
|
|
varchar title
|
|
text instructions
|
|
tinyint required
|
|
}
|
|
intervention_templates {
|
|
char id PK
|
|
char companyId FK "nullable"
|
|
char requestKey
|
|
varchar name
|
|
text description
|
|
tinyint active
|
|
}
|
|
interventions {
|
|
char id PK
|
|
char companyId FK
|
|
varchar reference
|
|
char requestKey
|
|
char ticketId FK "nullable"
|
|
char assigneeId FK "nullable"
|
|
varchar subject
|
|
varchar state
|
|
varchar modality
|
|
date plannedDate "nullable"
|
|
varchar startedAt "nullable"
|
|
varchar endedAt "nullable"
|
|
int minutes "nullable"
|
|
text diagnosis
|
|
text workPerformed
|
|
text resolution
|
|
}
|
|
mail_configuration_revisions {
|
|
char id PK
|
|
char configurationId FK
|
|
int position
|
|
char actorId FK
|
|
varchar recordedAt
|
|
varchar snapshotKind
|
|
char personId FK "nullable"
|
|
char accountId FK "nullable"
|
|
char assetId FK "nullable"
|
|
char profileId FK "nullable"
|
|
char mailboxId FK "nullable"
|
|
varchar address
|
|
varchar method
|
|
varchar state
|
|
text notes "nullable"
|
|
}
|
|
mail_configurations {
|
|
char id PK
|
|
char companyId FK
|
|
char personId FK "nullable"
|
|
char accountId FK "nullable"
|
|
char assetId FK "nullable"
|
|
varchar currentKey "nullable"
|
|
char profileId FK "nullable"
|
|
char mailboxId FK "nullable"
|
|
varchar snapshotKind
|
|
varchar address
|
|
varchar method
|
|
varchar state
|
|
text notes "nullable"
|
|
}
|
|
mailbox_revisions {
|
|
char id PK
|
|
char itemId FK
|
|
int position
|
|
char actorId FK
|
|
varchar recordedAt
|
|
varchar address
|
|
varchar kind
|
|
varchar context "nullable"
|
|
char accountId FK "nullable"
|
|
tinyint active
|
|
text notes "nullable"
|
|
}
|
|
mailbox_use_revisions {
|
|
char id PK
|
|
char itemId FK
|
|
int position
|
|
char actorId FK
|
|
varchar recordedAt
|
|
char mailboxId FK "nullable"
|
|
char personId FK "nullable"
|
|
varchar startDate
|
|
varchar endDate "nullable"
|
|
}
|
|
mailbox_uses {
|
|
char id PK
|
|
char companyId FK
|
|
char mailboxId FK
|
|
char personId FK
|
|
varchar startDate
|
|
varchar endDate "nullable"
|
|
}
|
|
mailboxes {
|
|
char id PK
|
|
char companyId FK
|
|
char accountId FK "nullable"
|
|
varchar addressKey
|
|
varchar address
|
|
varchar kind
|
|
varchar context "nullable"
|
|
tinyint active
|
|
text notes "nullable"
|
|
}
|
|
person_department_assignments {
|
|
char id PK
|
|
char companyId FK
|
|
char personId FK
|
|
char departmentId FK
|
|
varchar position "nullable"
|
|
date startDate
|
|
date endDate "nullable"
|
|
tinyint isPrimary
|
|
}
|
|
person_photos {
|
|
char personId PK,FK
|
|
char companyId FK
|
|
mediumblob data
|
|
varchar version
|
|
datetime createdAt
|
|
datetime updatedAt
|
|
}
|
|
person_process_revision_tasks {
|
|
char ownerId PK,FK
|
|
int position
|
|
varchar title
|
|
char taskId PK
|
|
varchar status
|
|
text notes "nullable"
|
|
varchar referenceKind "nullable"
|
|
char referenceId "nullable"
|
|
varchar referenceLabel "nullable"
|
|
varchar sourceKind "nullable"
|
|
}
|
|
person_process_revisions {
|
|
char id PK
|
|
int position
|
|
char actorId FK "nullable"
|
|
varchar recordedAt
|
|
char itemId FK
|
|
char personId FK "nullable"
|
|
char templateId FK "nullable"
|
|
varchar templateName
|
|
varchar kind
|
|
varchar name
|
|
varchar state
|
|
text notes "nullable"
|
|
}
|
|
person_process_tasks {
|
|
char ownerId PK,FK
|
|
int position
|
|
varchar title
|
|
char taskId PK
|
|
varchar status
|
|
text notes "nullable"
|
|
varchar referenceKind "nullable"
|
|
char referenceId "nullable"
|
|
varchar referenceLabel "nullable"
|
|
varchar sourceKind "nullable"
|
|
}
|
|
person_processes {
|
|
char id PK
|
|
char companyId FK
|
|
char personId FK
|
|
char templateId FK
|
|
varchar currentKey "nullable"
|
|
varchar templateName
|
|
varchar kind
|
|
varchar name
|
|
varchar state
|
|
text notes "nullable"
|
|
}
|
|
printer_configuration_revisions {
|
|
char id PK
|
|
char configurationId FK
|
|
int position
|
|
char actorId FK
|
|
varchar recordedAt
|
|
char profileId FK "nullable"
|
|
char printerId FK "nullable"
|
|
varchar connection
|
|
tinyint isDefault
|
|
varchar state
|
|
text notes "nullable"
|
|
}
|
|
printer_configurations {
|
|
char id PK
|
|
char companyId FK
|
|
char profileId FK
|
|
char printerId FK
|
|
varchar currentKey "nullable"
|
|
varchar defaultKey "nullable"
|
|
varchar connection
|
|
tinyint isDefault
|
|
varchar state
|
|
text notes "nullable"
|
|
}
|
|
process_catalog_lock {
|
|
int id PK
|
|
}
|
|
process_template_instructions {
|
|
char ownerId PK,FK
|
|
int position PK
|
|
varchar title
|
|
}
|
|
process_template_revision_instructions {
|
|
char ownerId PK,FK
|
|
int position PK
|
|
varchar title
|
|
}
|
|
process_template_revisions {
|
|
char id PK
|
|
int position
|
|
char actorId FK "nullable"
|
|
varchar recordedAt
|
|
char itemId FK
|
|
varchar name
|
|
varchar kind
|
|
tinyint active
|
|
text notes "nullable"
|
|
}
|
|
process_templates {
|
|
char id PK
|
|
varchar nameKey
|
|
varchar builtinKey "nullable"
|
|
varchar name
|
|
varchar kind
|
|
tinyint active
|
|
text notes "nullable"
|
|
}
|
|
remote_connection_revisions {
|
|
char id PK
|
|
char connectionId FK
|
|
int position
|
|
char actorId FK
|
|
varchar recordedAt
|
|
char personId FK "nullable"
|
|
varchar sourceKind
|
|
char sourceAssetId FK "nullable"
|
|
varchar targetKind
|
|
char targetAssetId FK "nullable"
|
|
char targetResourceId FK "nullable"
|
|
char siteId FK "nullable"
|
|
varchar method
|
|
tinyint requiresVpn
|
|
varchar state
|
|
text notes "nullable"
|
|
}
|
|
remote_connections {
|
|
char id PK
|
|
char companyId FK
|
|
char personId FK
|
|
char sourceAssetId FK "nullable"
|
|
char targetAssetId FK "nullable"
|
|
char targetResourceId FK "nullable"
|
|
char siteId FK "nullable"
|
|
varchar currentKey "nullable"
|
|
varchar sourceKind
|
|
varchar targetKind
|
|
varchar method
|
|
tinyint requiresVpn
|
|
varchar state
|
|
text notes "nullable"
|
|
}
|
|
resource_availability {
|
|
char id PK
|
|
char catalogId FK
|
|
char companyId FK
|
|
char definitionId FK
|
|
tinyint active "nullable"
|
|
}
|
|
resource_catalogs {
|
|
char id PK
|
|
varchar catalogKey
|
|
}
|
|
resource_characteristics {
|
|
char resourceId PK,FK
|
|
char fieldId PK,FK
|
|
varchar valueType
|
|
text textValue "nullable"
|
|
double numberValue "nullable"
|
|
tinyint booleanValue "nullable"
|
|
date dateValue "nullable"
|
|
}
|
|
resource_definitions {
|
|
char id PK
|
|
char catalogId FK
|
|
char companyId FK "nullable"
|
|
varchar stockKey "nullable"
|
|
tinyint active
|
|
varchar kind
|
|
varchar name
|
|
text description
|
|
varchar fieldType "nullable"
|
|
varchar unit "nullable"
|
|
varchar usage "nullable"
|
|
tinyint sectionsDefined
|
|
}
|
|
resource_field_choices {
|
|
char fieldId PK,FK
|
|
int position PK
|
|
varchar value
|
|
}
|
|
resource_revision_characteristics {
|
|
char revisionId PK,FK
|
|
char resourceId FK
|
|
char fieldId PK,FK
|
|
varchar valueType
|
|
text textValue "nullable"
|
|
double numberValue "nullable"
|
|
tinyint booleanValue "nullable"
|
|
date dateValue "nullable"
|
|
}
|
|
resource_revisions {
|
|
char id PK
|
|
char resourceId FK
|
|
char actorId FK
|
|
varchar recordedAt
|
|
int position
|
|
varchar name
|
|
tinyint active
|
|
text notes
|
|
varchar integrationKind "nullable"
|
|
char addressFieldId FK "nullable"
|
|
char contextFieldId FK "nullable"
|
|
varchar mailboxKind "nullable"
|
|
char accountId FK "nullable"
|
|
char referenceFieldId FK "nullable"
|
|
char resourceTypeId FK "nullable"
|
|
char systemId FK "nullable"
|
|
char environmentId FK "nullable"
|
|
char templateId FK "nullable"
|
|
}
|
|
resource_specification_field_choices {
|
|
char resourceId PK,FK
|
|
char fieldId PK,FK
|
|
int position PK
|
|
varchar value
|
|
}
|
|
resource_specification_fields {
|
|
char resourceId PK,FK
|
|
char fieldId PK,FK
|
|
varchar name
|
|
varchar fieldType
|
|
varchar unit
|
|
tinyint required
|
|
char sectionId "nullable"
|
|
int position
|
|
}
|
|
resource_specification_sections {
|
|
char resourceId PK,FK
|
|
char id PK
|
|
varchar name
|
|
text description
|
|
int position
|
|
}
|
|
resource_template_fields {
|
|
char id PK
|
|
char templateId FK
|
|
char fieldId FK
|
|
tinyint required
|
|
int position
|
|
char sectionId FK "nullable"
|
|
}
|
|
resource_template_sections {
|
|
char id PK
|
|
char templateId PK,FK
|
|
varchar name
|
|
text description
|
|
int position
|
|
}
|
|
resources {
|
|
char id PK
|
|
char companyId FK
|
|
char templateId FK
|
|
varchar name
|
|
tinyint active
|
|
text notes
|
|
varchar integrationKind "nullable"
|
|
char addressFieldId FK "nullable"
|
|
char contextFieldId FK "nullable"
|
|
varchar mailboxKind "nullable"
|
|
char accountId FK "nullable"
|
|
char referenceFieldId FK "nullable"
|
|
char resourceTypeId FK "nullable"
|
|
char systemId FK "nullable"
|
|
char environmentId FK "nullable"
|
|
varchar templateName
|
|
tinyint sectionsDefined
|
|
}
|
|
software_installation_revisions {
|
|
char id PK
|
|
char configurationId FK
|
|
int position
|
|
char assetId FK
|
|
char resourceId FK
|
|
varchar version "nullable"
|
|
varchar state
|
|
text notes "nullable"
|
|
char actorId FK
|
|
varchar recordedAt
|
|
char licenseResourceId FK "nullable"
|
|
}
|
|
software_installations {
|
|
char id PK
|
|
char companyId FK
|
|
char assetId FK
|
|
char resourceId FK
|
|
varchar version "nullable"
|
|
varchar state
|
|
text notes "nullable"
|
|
varchar currentKey "nullable"
|
|
char licenseResourceId FK "nullable"
|
|
}
|
|
telework_authorization_revisions {
|
|
char id PK
|
|
char authorizationId FK
|
|
int position
|
|
char actorId FK
|
|
varchar recordedAt
|
|
char personId FK "nullable"
|
|
tinyint active
|
|
varchar startsOn "nullable"
|
|
varchar expiresOn "nullable"
|
|
text notes "nullable"
|
|
}
|
|
telework_authorizations {
|
|
char id PK
|
|
char companyId FK
|
|
char personId FK
|
|
tinyint active
|
|
varchar startsOn "nullable"
|
|
varchar expiresOn "nullable"
|
|
text notes "nullable"
|
|
}
|
|
ticket_counter {
|
|
int id PK
|
|
int nextNumber
|
|
}
|
|
ticket_revision_targets {
|
|
char ownerId PK,FK
|
|
int position PK
|
|
char personId FK "nullable"
|
|
char workstationId FK "nullable"
|
|
char assetId FK "nullable"
|
|
char resourceId FK "nullable"
|
|
}
|
|
ticket_revisions {
|
|
char id PK
|
|
char ticketId FK
|
|
char actorId FK
|
|
char requesterId FK "nullable"
|
|
char assigneeId FK "nullable"
|
|
varchar recordedAt
|
|
int position
|
|
varchar subject
|
|
text description
|
|
varchar channel
|
|
varchar state
|
|
varchar priority
|
|
}
|
|
ticket_targets {
|
|
char ownerId PK,FK
|
|
int position PK
|
|
char personId FK "nullable"
|
|
char workstationId FK "nullable"
|
|
char assetId FK "nullable"
|
|
char resourceId FK "nullable"
|
|
}
|
|
tickets {
|
|
char id PK
|
|
char companyId FK
|
|
varchar reference
|
|
char requestKey
|
|
char requesterId FK "nullable"
|
|
char assigneeId FK "nullable"
|
|
varchar subject
|
|
text description
|
|
varchar channel
|
|
varchar state
|
|
varchar priority
|
|
}
|
|
users {
|
|
char id PK
|
|
varchar name
|
|
varchar email
|
|
varchar passwordHash
|
|
tinyint active
|
|
tinyint isInitialAdmin
|
|
int authVersion
|
|
}
|
|
work_profile_revisions {
|
|
char id PK
|
|
char profileId FK
|
|
char accountId FK "nullable"
|
|
int position
|
|
char actorId FK
|
|
varchar recordedAt
|
|
varchar name
|
|
char personId FK "nullable"
|
|
char assetId FK "nullable"
|
|
tinyint active
|
|
text notes "nullable"
|
|
}
|
|
work_profiles {
|
|
char id PK
|
|
char companyId FK
|
|
char personId FK
|
|
char accountId FK "nullable"
|
|
char assetId FK
|
|
varchar currentKey "nullable"
|
|
varchar name
|
|
tinyint active
|
|
text notes "nullable"
|
|
}
|
|
workstation_assets {
|
|
char workstationId PK,FK
|
|
char companyId FK
|
|
char assetId PK,FK
|
|
varchar activeKey "nullable"
|
|
}
|
|
workstation_members {
|
|
char workstationId PK,FK
|
|
char assetId PK,FK
|
|
varchar kind
|
|
int position
|
|
}
|
|
workstation_revision_members {
|
|
char revisionId PK,FK
|
|
char assetId PK,FK
|
|
varchar kind
|
|
int position
|
|
}
|
|
workstation_revisions {
|
|
char id PK
|
|
char workstationId FK
|
|
char actorId FK
|
|
char siteId FK "nullable"
|
|
char personId FK "nullable"
|
|
varchar recordedAt
|
|
int position
|
|
varchar name
|
|
tinyint active
|
|
char computerAssetId FK "nullable"
|
|
}
|
|
workstations {
|
|
char id PK
|
|
char companyId FK
|
|
char siteId FK "nullable"
|
|
char personId FK "nullable"
|
|
varchar name
|
|
tinyint active
|
|
char computerAssetId FK "nullable"
|
|
}
|
|
access_items ||..o{ access_account_person_revision_values : "accountId"
|
|
access_revisions ||..o| access_account_person_revision_values : "ownerId"
|
|
company_contacts ||..o{ access_account_person_revision_values : "personId"
|
|
access_items ||..o{ access_account_person_values : "accountId"
|
|
access_items ||..o| access_account_person_values : "ownerId"
|
|
company_contacts ||..o{ access_account_person_values : "personId"
|
|
access_items |o..o{ access_account_revision_values : "environmentId"
|
|
access_items ||..o{ access_account_revision_values : "systemId"
|
|
access_revisions ||..o| access_account_revision_values : "ownerId"
|
|
access_items |o..o{ access_account_values : "environmentId"
|
|
access_items ||..o| access_account_values : "ownerId"
|
|
access_items ||..o{ access_account_values : "systemId"
|
|
access_items ||..o{ access_coverage_revision_values : "accountPersonId"
|
|
access_items ||..o{ access_coverage_revision_values : "grantId"
|
|
access_items |o..o{ access_coverage_revision_values : "membershipId"
|
|
access_items ||..o{ access_coverage_revision_values : "needId"
|
|
access_revisions ||..o| access_coverage_revision_values : "ownerId"
|
|
access_items ||..o{ access_coverage_values : "accountPersonId"
|
|
access_items ||..o{ access_coverage_values : "grantId"
|
|
access_items |o..o{ access_coverage_values : "membershipId"
|
|
access_items ||..o{ access_coverage_values : "needId"
|
|
access_items ||..o| access_coverage_values : "ownerId"
|
|
access_items ||..o{ access_environment_revision_values : "systemId"
|
|
access_revisions ||..o| access_environment_revision_values : "ownerId"
|
|
access_items ||..o| access_environment_values : "ownerId"
|
|
access_items ||..o{ access_environment_values : "systemId"
|
|
access_items |o..o{ access_grant_revision_values : "accountId"
|
|
access_items |o..o{ access_grant_revision_values : "groupId"
|
|
access_items ||..o{ access_grant_revision_values : "permissionId"
|
|
access_items ||..o{ access_grant_revision_values : "resourceId"
|
|
access_revisions ||..o| access_grant_revision_values : "ownerId"
|
|
access_items |o..o{ access_grant_values : "accountId"
|
|
access_items |o..o{ access_grant_values : "groupId"
|
|
access_items ||..o| access_grant_values : "ownerId"
|
|
access_items ||..o{ access_grant_values : "permissionId"
|
|
access_items ||..o{ access_grant_values : "resourceId"
|
|
access_items |o..o{ access_group_revision_values : "environmentId"
|
|
access_items ||..o{ access_group_revision_values : "systemId"
|
|
access_items |o..o{ access_group_revision_values : "templateId"
|
|
access_revisions ||..o| access_group_revision_values : "ownerId"
|
|
access_items |o..o{ access_group_values : "environmentId"
|
|
access_items ||..o| access_group_values : "ownerId"
|
|
access_items ||..o{ access_group_values : "systemId"
|
|
access_items |o..o{ access_group_values : "templateId"
|
|
access_workspaces ||..o{ access_items : "workspaceId"
|
|
access_items ||..o{ access_membership_revision_values : "accountId"
|
|
access_items ||..o{ access_membership_revision_values : "groupId"
|
|
access_revisions ||..o| access_membership_revision_values : "ownerId"
|
|
access_items ||..o{ access_membership_values : "accountId"
|
|
access_items ||..o{ access_membership_values : "groupId"
|
|
access_items ||..o| access_membership_values : "ownerId"
|
|
access_items ||..o{ access_need_permissions : "permissionId"
|
|
access_need_values ||..o{ access_need_permissions : "ownerId"
|
|
access_items ||..o{ access_need_revision_permissions : "permissionId"
|
|
access_need_revision_values ||..o{ access_need_revision_permissions : "ownerId"
|
|
access_items ||..o{ access_need_revision_values : "resourceId"
|
|
access_revisions ||..o| access_need_revision_values : "ownerId"
|
|
company_contacts ||..o{ access_need_revision_values : "personId"
|
|
access_items ||..o| access_need_values : "ownerId"
|
|
access_items ||..o{ access_need_values : "resourceId"
|
|
company_contacts ||..o{ access_need_values : "personId"
|
|
access_items ||..o{ access_permission_revision_values : "resourceTypeId"
|
|
access_revisions ||..o| access_permission_revision_values : "ownerId"
|
|
access_items ||..o| access_permission_values : "ownerId"
|
|
access_items ||..o{ access_permission_values : "resourceTypeId"
|
|
access_items ||..o{ access_person_references : "itemId"
|
|
company_contacts ||..o{ access_person_references : "personId"
|
|
access_items ||..o{ access_references : "itemId"
|
|
access_items ||..o{ access_references : "targetId"
|
|
access_items |o..o{ access_resource_revision_values : "environmentId"
|
|
access_items ||..o{ access_resource_revision_values : "resourceTypeId"
|
|
access_items |o..o{ access_resource_revision_values : "systemId"
|
|
access_revisions ||..o| access_resource_revision_values : "ownerId"
|
|
access_revisions ||..o| access_resource_type_revision_values : "ownerId"
|
|
access_items ||..o| access_resource_type_values : "ownerId"
|
|
access_items |o..o{ access_resource_values : "environmentId"
|
|
access_items ||..o| access_resource_values : "ownerId"
|
|
access_items ||..o{ access_resource_values : "resourceTypeId"
|
|
access_items |o..o{ access_resource_values : "systemId"
|
|
access_items ||..o{ access_revisions : "itemId"
|
|
users ||..o{ access_revisions : "actorId"
|
|
access_revisions ||..o| access_system_revision_values : "ownerId"
|
|
access_items ||..o| access_system_values : "ownerId"
|
|
access_items |o..o{ access_template_revision_values : "systemId"
|
|
access_revisions ||..o| access_template_revision_values : "ownerId"
|
|
access_items ||..o| access_template_values : "ownerId"
|
|
access_items |o..o{ access_template_values : "systemId"
|
|
companies |o..o{ access_workspaces : "companyId"
|
|
application_configurations ||..o{ application_configuration_revisions : "configurationId"
|
|
resources |o..o{ application_configuration_revisions : "resourceId"
|
|
users ||..o{ application_configuration_revisions : "actorId"
|
|
work_profiles |o..o{ application_configuration_revisions : "profileId"
|
|
companies ||..o{ application_configurations : "companyId"
|
|
resources ||..o{ application_configurations : "resourceId"
|
|
work_profiles ||..o{ application_configurations : "profileId"
|
|
asset_catalogs ||..o{ asset_availability : "catalogId"
|
|
asset_definitions ||..o{ asset_availability : "definitionId"
|
|
companies ||..o{ asset_availability : "companyId"
|
|
asset_definitions ||..o{ asset_characteristics : "fieldId"
|
|
asset_specification_fields ||..o| asset_characteristics : "assetId, fieldId"
|
|
assets ||..o{ asset_characteristics : "assetId"
|
|
asset_catalogs ||..o{ asset_definitions : "catalogId"
|
|
companies |o..o{ asset_definitions : "companyId"
|
|
asset_definitions ||..o{ asset_field_choices : "fieldId"
|
|
asset_definitions ||..o{ asset_relationships : "typeId"
|
|
assets ||..o{ asset_relationships : "companyId, sourceId"
|
|
assets ||..o{ asset_relationships : "companyId, targetId"
|
|
assets ||..o{ asset_relationships : "sourceId"
|
|
assets ||..o{ asset_relationships : "targetId"
|
|
companies ||..o{ asset_relationships : "companyId"
|
|
users ||..o{ asset_relationships : "createdBy"
|
|
users |o..o{ asset_relationships : "endedBy"
|
|
asset_definitions ||..o{ asset_revision_characteristics : "fieldId"
|
|
asset_revisions ||..o{ asset_revision_characteristics : "revisionId"
|
|
asset_revisions ||..o{ asset_revision_characteristics : "revisionId, assetId"
|
|
asset_specification_fields ||..o{ asset_revision_characteristics : "assetId, fieldId"
|
|
assets ||..o{ asset_revision_characteristics : "assetId"
|
|
asset_brands |o..o{ asset_revisions : "brandId"
|
|
asset_definitions ||..o{ asset_revisions : "templateId"
|
|
assets ||..o{ asset_revisions : "assetId"
|
|
company_sites |o..o{ asset_revisions : "siteId"
|
|
users ||..o{ asset_revisions : "actorId"
|
|
asset_definitions ||..o{ asset_specification_field_choices : "fieldId"
|
|
asset_specification_fields ||..o{ asset_specification_field_choices : "assetId, fieldId"
|
|
assets ||..o{ asset_specification_field_choices : "assetId"
|
|
asset_definitions ||..o{ asset_specification_fields : "fieldId"
|
|
asset_specification_sections |o..o{ asset_specification_fields : "assetId, sectionId"
|
|
assets ||..o{ asset_specification_fields : "assetId"
|
|
assets ||..o{ asset_specification_sections : "assetId"
|
|
assets ||..o{ asset_support : "assetId"
|
|
assets ||..o{ asset_support : "companyId, assetId"
|
|
companies ||..o{ asset_support : "companyId"
|
|
resources ||..o{ asset_support : "companyId, resourceId"
|
|
resources ||..o{ asset_support : "resourceId"
|
|
asset_support ||..o{ asset_support_revisions : "connectionId"
|
|
resources ||..o{ asset_support_revisions : "resourceId"
|
|
users ||..o{ asset_support_revisions : "actorId"
|
|
asset_definitions ||..o{ asset_template_fields : "fieldId"
|
|
asset_definitions ||..o{ asset_template_fields : "templateId"
|
|
asset_template_sections |o..o{ asset_template_fields : "sectionId"
|
|
asset_template_sections |o..o{ asset_template_fields : "templateId, sectionId"
|
|
asset_definitions ||..o{ asset_template_sections : "templateId"
|
|
asset_brands |o..o{ assets : "brandId"
|
|
asset_definitions ||..o{ assets : "templateId"
|
|
companies ||..o{ assets : "companyId"
|
|
company_sites |o..o{ assets : "siteId"
|
|
certificate_configurations ||..o{ certificate_configuration_revisions : "configurationId"
|
|
resources |o..o{ certificate_configuration_revisions : "resourceId"
|
|
users ||..o{ certificate_configuration_revisions : "actorId"
|
|
work_profiles |o..o{ certificate_configuration_revisions : "profileId"
|
|
companies ||..o{ certificate_configurations : "companyId"
|
|
resources ||..o{ certificate_configurations : "resourceId"
|
|
work_profiles ||..o{ certificate_configurations : "profileId"
|
|
companies ||..o{ company_contacts : "companyId"
|
|
companies ||..o{ company_departments : "companyId"
|
|
companies ||..o| company_logos : "companyId"
|
|
companies ||..o{ company_sites : "companyId"
|
|
person_department_assignments ||..o{ department_assignment_revisions : "assignmentId"
|
|
access_items |o..o{ folder_mapping_revisions : "needId"
|
|
folder_mappings ||..o{ folder_mapping_revisions : "mappingId"
|
|
users ||..o{ folder_mapping_revisions : "actorId"
|
|
work_profiles |o..o{ folder_mapping_revisions : "profileId"
|
|
access_items ||..o{ folder_mappings : "needId"
|
|
companies ||..o{ folder_mappings : "companyId"
|
|
work_profiles ||..o{ folder_mappings : "profileId"
|
|
users |o..o{ http_sessions : "userId"
|
|
users |o..o{ identity_state : "initialAdminId"
|
|
intervention_procedures ||..o{ intervention_procedure_steps : "ownerId"
|
|
intervention_template_revisions ||..o{ intervention_procedures : "revisionId"
|
|
intervention_template_revisions ||..o{ intervention_procedures : "templateId, revisionId"
|
|
intervention_templates ||..o{ intervention_procedures : "templateId"
|
|
interventions ||..o| intervention_procedures : "interventionId"
|
|
intervention_revisions ||..o{ intervention_revision_steps : "ownerId"
|
|
assets |o..o{ intervention_revision_targets : "assetId"
|
|
company_contacts |o..o{ intervention_revision_targets : "personId"
|
|
intervention_revisions ||..o{ intervention_revision_targets : "ownerId"
|
|
resources |o..o{ intervention_revision_targets : "resourceId"
|
|
workstations |o..o{ intervention_revision_targets : "workstationId"
|
|
interventions ||..o{ intervention_revisions : "interventionId"
|
|
tickets |o..o{ intervention_revisions : "ticketId"
|
|
users ||..o{ intervention_revisions : "actorId"
|
|
users |o..o{ intervention_revisions : "assigneeId"
|
|
interventions ||..o{ intervention_steps : "ownerId"
|
|
assets |o..o{ intervention_targets : "assetId"
|
|
company_contacts |o..o{ intervention_targets : "personId"
|
|
interventions ||..o{ intervention_targets : "ownerId"
|
|
resources |o..o{ intervention_targets : "resourceId"
|
|
workstations |o..o{ intervention_targets : "workstationId"
|
|
intervention_template_revisions ||..o{ intervention_template_revision_steps : "ownerId"
|
|
intervention_templates ||..o{ intervention_template_revisions : "templateId"
|
|
users |o..o{ intervention_template_revisions : "actorId"
|
|
intervention_templates ||..o{ intervention_template_steps : "ownerId"
|
|
companies |o..o{ intervention_templates : "companyId"
|
|
companies ||..o{ interventions : "companyId"
|
|
tickets |o..o{ interventions : "ticketId"
|
|
users |o..o{ interventions : "assigneeId"
|
|
access_items |o..o{ mail_configuration_revisions : "accountId"
|
|
assets |o..o{ mail_configuration_revisions : "assetId"
|
|
company_contacts |o..o{ mail_configuration_revisions : "personId"
|
|
mail_configurations ||..o{ mail_configuration_revisions : "configurationId"
|
|
mailboxes |o..o{ mail_configuration_revisions : "mailboxId"
|
|
users ||..o{ mail_configuration_revisions : "actorId"
|
|
work_profiles |o..o{ mail_configuration_revisions : "profileId"
|
|
access_items |o..o{ mail_configurations : "accountId"
|
|
assets |o..o{ mail_configurations : "assetId"
|
|
companies ||..o{ mail_configurations : "companyId"
|
|
company_contacts |o..o{ mail_configurations : "personId"
|
|
mailboxes |o..o{ mail_configurations : "mailboxId"
|
|
work_profiles |o..o{ mail_configurations : "profileId"
|
|
access_items |o..o{ mailbox_revisions : "accountId"
|
|
mailboxes ||..o{ mailbox_revisions : "itemId"
|
|
users ||..o{ mailbox_revisions : "actorId"
|
|
company_contacts |o..o{ mailbox_use_revisions : "personId"
|
|
mailbox_uses ||..o{ mailbox_use_revisions : "itemId"
|
|
mailboxes |o..o{ mailbox_use_revisions : "mailboxId"
|
|
users ||..o{ mailbox_use_revisions : "actorId"
|
|
companies ||..o{ mailbox_uses : "companyId"
|
|
company_contacts ||..o{ mailbox_uses : "personId"
|
|
mailboxes ||..o{ mailbox_uses : "mailboxId"
|
|
access_items |o..o{ mailboxes : "accountId"
|
|
companies ||..o{ mailboxes : "companyId"
|
|
companies ||..o{ person_department_assignments : "companyId"
|
|
company_contacts ||..o{ person_department_assignments : "personId, companyId"
|
|
company_departments ||..o{ person_department_assignments : "departmentId, companyId"
|
|
company_contacts ||..o| person_photos : "personId, companyId"
|
|
person_process_revisions ||..o{ person_process_revision_tasks : "ownerId"
|
|
company_contacts |o..o{ person_process_revisions : "personId"
|
|
person_processes ||..o{ person_process_revisions : "itemId"
|
|
process_templates |o..o{ person_process_revisions : "templateId"
|
|
users |o..o{ person_process_revisions : "actorId"
|
|
person_processes ||..o{ person_process_tasks : "ownerId"
|
|
companies ||..o{ person_processes : "companyId"
|
|
company_contacts ||..o{ person_processes : "personId"
|
|
process_templates ||..o{ person_processes : "templateId"
|
|
assets |o..o{ printer_configuration_revisions : "printerId"
|
|
printer_configurations ||..o{ printer_configuration_revisions : "configurationId"
|
|
users ||..o{ printer_configuration_revisions : "actorId"
|
|
work_profiles |o..o{ printer_configuration_revisions : "profileId"
|
|
assets ||..o{ printer_configurations : "printerId"
|
|
companies ||..o{ printer_configurations : "companyId"
|
|
work_profiles ||..o{ printer_configurations : "profileId"
|
|
process_templates ||..o{ process_template_instructions : "ownerId"
|
|
process_template_revisions ||..o{ process_template_revision_instructions : "ownerId"
|
|
process_templates ||..o{ process_template_revisions : "itemId"
|
|
users |o..o{ process_template_revisions : "actorId"
|
|
assets |o..o{ remote_connection_revisions : "sourceAssetId"
|
|
assets |o..o{ remote_connection_revisions : "targetAssetId"
|
|
company_contacts |o..o{ remote_connection_revisions : "personId"
|
|
company_sites |o..o{ remote_connection_revisions : "siteId"
|
|
remote_connections ||..o{ remote_connection_revisions : "connectionId"
|
|
resources |o..o{ remote_connection_revisions : "targetResourceId"
|
|
users ||..o{ remote_connection_revisions : "actorId"
|
|
assets |o..o{ remote_connections : "sourceAssetId"
|
|
assets |o..o{ remote_connections : "targetAssetId"
|
|
companies ||..o{ remote_connections : "companyId"
|
|
company_contacts ||..o{ remote_connections : "personId"
|
|
company_sites |o..o{ remote_connections : "siteId"
|
|
resources |o..o{ remote_connections : "targetResourceId"
|
|
companies ||..o{ resource_availability : "companyId"
|
|
resource_catalogs ||..o{ resource_availability : "catalogId"
|
|
resource_definitions ||..o{ resource_availability : "definitionId"
|
|
resource_definitions ||..o{ resource_characteristics : "fieldId"
|
|
resources ||..o{ resource_characteristics : "resourceId"
|
|
companies |o..o{ resource_definitions : "companyId"
|
|
resource_catalogs ||..o{ resource_definitions : "catalogId"
|
|
resource_definitions ||..o{ resource_field_choices : "fieldId"
|
|
resource_definitions ||..o{ resource_revision_characteristics : "fieldId"
|
|
resource_revisions ||..o{ resource_revision_characteristics : "revisionId"
|
|
resources ||..o{ resource_revision_characteristics : "resourceId"
|
|
access_items |o..o{ resource_revisions : "accountId"
|
|
access_items |o..o{ resource_revisions : "environmentId"
|
|
access_items |o..o{ resource_revisions : "resourceTypeId"
|
|
access_items |o..o{ resource_revisions : "systemId"
|
|
resource_definitions |o..o{ resource_revisions : "addressFieldId"
|
|
resource_definitions |o..o{ resource_revisions : "contextFieldId"
|
|
resource_definitions |o..o{ resource_revisions : "referenceFieldId"
|
|
resource_definitions |o..o{ resource_revisions : "templateId"
|
|
resources ||..o{ resource_revisions : "resourceId"
|
|
users ||..o{ resource_revisions : "actorId"
|
|
resource_definitions ||..o{ resource_specification_field_choices : "fieldId"
|
|
resources ||..o{ resource_specification_field_choices : "resourceId"
|
|
resource_definitions ||..o{ resource_specification_fields : "fieldId"
|
|
resources ||..o{ resource_specification_fields : "resourceId"
|
|
resources ||..o{ resource_specification_sections : "resourceId"
|
|
resource_definitions ||..o{ resource_template_fields : "fieldId"
|
|
resource_definitions ||..o{ resource_template_fields : "templateId"
|
|
resource_template_sections |o..o{ resource_template_fields : "templateId, sectionId"
|
|
resource_definitions ||..o{ resource_template_sections : "templateId"
|
|
access_items |o..o{ resources : "accountId"
|
|
access_items |o..o{ resources : "environmentId"
|
|
access_items |o..o{ resources : "resourceTypeId"
|
|
access_items |o..o{ resources : "systemId"
|
|
companies ||..o{ resources : "companyId"
|
|
resource_definitions |o..o{ resources : "addressFieldId"
|
|
resource_definitions |o..o{ resources : "contextFieldId"
|
|
resource_definitions |o..o{ resources : "referenceFieldId"
|
|
resource_definitions ||..o{ resources : "templateId"
|
|
assets ||..o{ software_installation_revisions : "assetId"
|
|
resources |o..o{ software_installation_revisions : "licenseResourceId"
|
|
resources ||..o{ software_installation_revisions : "resourceId"
|
|
software_installations ||..o{ software_installation_revisions : "configurationId"
|
|
users ||..o{ software_installation_revisions : "actorId"
|
|
assets ||..o{ software_installations : "assetId"
|
|
companies ||..o{ software_installations : "companyId"
|
|
resources |o..o{ software_installations : "licenseResourceId"
|
|
resources ||..o{ software_installations : "resourceId"
|
|
company_contacts |o..o{ telework_authorization_revisions : "personId"
|
|
telework_authorizations ||..o{ telework_authorization_revisions : "authorizationId"
|
|
users ||..o{ telework_authorization_revisions : "actorId"
|
|
companies ||..o{ telework_authorizations : "companyId"
|
|
company_contacts ||..o| telework_authorizations : "personId"
|
|
assets |o..o{ ticket_revision_targets : "assetId"
|
|
company_contacts |o..o{ ticket_revision_targets : "personId"
|
|
resources |o..o{ ticket_revision_targets : "resourceId"
|
|
ticket_revisions ||..o{ ticket_revision_targets : "ownerId"
|
|
workstations |o..o{ ticket_revision_targets : "workstationId"
|
|
company_contacts |o..o{ ticket_revisions : "requesterId"
|
|
tickets ||..o{ ticket_revisions : "ticketId"
|
|
users ||..o{ ticket_revisions : "actorId"
|
|
users |o..o{ ticket_revisions : "assigneeId"
|
|
assets |o..o{ ticket_targets : "assetId"
|
|
company_contacts |o..o{ ticket_targets : "personId"
|
|
resources |o..o{ ticket_targets : "resourceId"
|
|
tickets ||..o{ ticket_targets : "ownerId"
|
|
workstations |o..o{ ticket_targets : "workstationId"
|
|
companies ||..o{ tickets : "companyId"
|
|
company_contacts |o..o{ tickets : "requesterId"
|
|
users |o..o{ tickets : "assigneeId"
|
|
access_items |o..o{ work_profile_revisions : "accountId"
|
|
assets |o..o{ work_profile_revisions : "assetId"
|
|
company_contacts |o..o{ work_profile_revisions : "personId"
|
|
users ||..o{ work_profile_revisions : "actorId"
|
|
work_profiles ||..o{ work_profile_revisions : "profileId"
|
|
access_items |o..o{ work_profiles : "accountId"
|
|
assets ||..o{ work_profiles : "assetId"
|
|
companies ||..o{ work_profiles : "companyId"
|
|
company_contacts ||..o{ work_profiles : "personId"
|
|
assets ||..o{ workstation_assets : "assetId"
|
|
assets ||..o{ workstation_assets : "companyId, assetId"
|
|
companies ||..o{ workstation_assets : "companyId"
|
|
workstations ||..o{ workstation_assets : "companyId, workstationId"
|
|
workstations ||..o{ workstation_assets : "workstationId"
|
|
assets ||..o{ workstation_members : "assetId"
|
|
workstations ||..o{ workstation_members : "workstationId"
|
|
assets ||..o{ workstation_revision_members : "assetId"
|
|
workstation_revisions ||..o{ workstation_revision_members : "revisionId"
|
|
assets |o..o{ workstation_revisions : "computerAssetId"
|
|
company_contacts |o..o{ workstation_revisions : "personId"
|
|
company_sites |o..o{ workstation_revisions : "siteId"
|
|
users ||..o{ workstation_revisions : "actorId"
|
|
workstations ||..o{ workstation_revisions : "workstationId"
|
|
assets |o..o{ workstations : "computerAssetId"
|
|
companies ||..o{ workstations : "companyId"
|
|
company_contacts |o..o{ workstations : "personId"
|
|
company_sites |o..o{ workstations : "siteId"
|