Registry operational database
🌐 This document is available in both English and Ukrainian. Use the language toggle in the top right corner to switch between versions. |
1. General description
The registry
database contains both official service tables and all registry tables modeled by the regulation administrator.
Service tables are created in the public schema when the registry is created. Registry tables are created in the `registry' scheme when deploying the regulation.
This document deals with service tables.
2. Database schema
Legend
Diagram notation | Table notation | Meaning |
---|---|---|
ο and [PK] |
|
Primary key |
[FK] |
|
Foreign key |
● |
|
Required field (not null) |
|
Optional field (null) |
3. Data structure
3.1. ddm_liquibase_metadata
The metadata is obtained from the data model of the regulation. Data API is built on their basis.
Currently, each type of data model change uses its own metadata recording format, so in most cases the contents of the columns do not correspond to their original purpose.
Column name Description Row ID |
---|
|
|
|
|
|
Uniqueness constraint |
---|
|
3.2. ddm_rls_metadata
Configuring Row-Level Security Rules for Data API Requests
Column name Description |
---|
|
|
|
|
|
|
Uniqueness constraint |
---|
|
|
3.3. ddm_role_permission
Catalog of rights issued for the role. Used for role-based access control (RBAC) to registry data.
Column name Description |
---|
|
|
|
|
|
|
Uniqueness constraint |
---|
|
3.4. ddm_source_application
Catalog of applications - data sources. Entries to the directory are added automatically when data is first sent to the registry from the application.
Column name Description |
---|
|
|
|
|
Uniqueness constraint |
---|
|
3.5. ddm_source_business_process
Catalog of business processes - data sources. Entries to the directory are added automatically when data is first sent to the registry from the business process.
Column name Description |
---|
|
|
|
|
Uniqueness constraint |
---|
|
3.6. ddm_source_system
Catalog of systems - data sources. Entries in the catalog are added automatically when data is first received from the system to the registry.
Column name Description |
---|
|
|
|
|
Uniqueness constraint |
---|
|