Native PostgreSQL Schema Script: postgres.sql - Templates and messages
This page documents schema objects parsed from config/sql/native/postgres.sql.
Region: Templates and messages
Object templates, include references, sequences, forms, function libraries, and message templates.
Tables
m_form
Stores custom form definitions.
XSD type: http://midpoint.evolveum.com/xml/ns/public/common/common-3#FormType
Inherits from: m_assignment_holder
Columns
| Column | Type | Required / constraints | Description |
|---|---|---|---|
|
|
primary key, required |
Form object identifier. |
|
|
Indexes
| Name | Columns | Purpose / notes |
|---|---|---|
|
|
Speeds up lookup by original object name. Used for: original name searches |
|
|
Enforces unique normalized object names and speeds up exact name lookup. Used for: normalized name lookup and uniqueness checks. unique |
|
|
Speeds up filtering by object subtype. Used for: subtype filters |
|
|
Speeds up filtering by policy situation. Used for: policy situation filters |
|
|
Speeds up filtering or ordering by creation time. Used for: creation time filters and ordering |
|
|
Speeds up filtering or ordering by modification time. Used for: modification time filters and ordering |
Foreign keys
| Column | References |
|---|---|
|
m_function_library
Stores function library objects used by expressions.
XSD type: http://midpoint.evolveum.com/xml/ns/public/common/common-3#FunctionLibraryType
Inherits from: m_assignment_holder
Columns
| Column | Type | Required / constraints | Description |
|---|---|---|---|
|
|
primary key, required |
Function library object identifier. |
|
|
Indexes
| Name | Columns | Purpose / notes |
|---|---|---|
|
|
Speeds up lookup by original object name. Used for: original name searches |
|
|
Enforces unique normalized object names and speeds up exact name lookup. Used for: normalized name lookup and uniqueness checks. unique |
|
|
Speeds up filtering by object subtype. Used for: subtype filters |
|
|
Speeds up filtering by policy situation. Used for: policy situation filters |
Foreign keys
| Column | References |
|---|---|
|
m_message_template
Stores reusable message templates for notifications and message transport.
XSD type: http://midpoint.evolveum.com/xml/ns/public/common/common-3#MessageTemplateType
Inherits from: m_assignment_holder
Columns
| Column | Type | Required / constraints | Description |
|---|---|---|---|
|
|
primary key, required |
Message template object identifier. |
|
|
Indexes
| Name | Columns | Purpose / notes |
|---|---|---|
|
|
Speeds up lookup by original object name. Used for: original name searches |
|
|
Enforces unique normalized object names and speeds up exact name lookup. Used for: normalized name lookup and uniqueness checks. unique |
|
|
Speeds up filtering by policy situation. Used for: policy situation filters |
|
|
Speeds up filtering or ordering by creation time. Used for: creation time filters and ordering |
|
|
Speeds up filtering or ordering by modification time. Used for: modification time filters and ordering |
Foreign keys
| Column | References |
|---|---|
|
m_object_template
Stores object template definitions.
XSD type: http://midpoint.evolveum.com/xml/ns/public/common/common-3#ObjectTemplateType
Inherits from: m_assignment_holder
Columns
| Column | Type | Required / constraints | Description |
|---|---|---|---|
|
|
primary key, required |
Object template identifier. |
|
|
Indexes
| Name | Columns | Purpose / notes |
|---|---|---|
|
|
Speeds up lookup by original object name. Used for: original name searches |
|
|
Enforces unique normalized object names and speeds up exact name lookup. Used for: normalized name lookup and uniqueness checks. unique |
|
|
Speeds up filtering by object subtype. Used for: subtype filters |
|
|
Speeds up filtering by policy situation. Used for: policy situation filters |
|
|
Speeds up filtering or ordering by creation time. Used for: creation time filters and ordering |
|
|
Speeds up filtering or ordering by modification time. Used for: modification time filters and ordering |
Foreign keys
| Column | References |
|---|---|
|
m_ref_include
Stores include references between object templates.
Inherits from: m_reference
Columns
| Column | Type | Required / constraints | Description |
|---|---|---|---|
|
|
primary key, required |
OID of the object template that owns the include reference. |
|
|
Indexes
| Name | Columns | Purpose / notes |
|---|---|---|
|
|
Speeds up reverse lookup of include references by target object and relation. Used for: object template include reference searches |
Foreign keys
| Column | References | Notes |
|---|---|---|
|
ON DELETE CASCADE |
m_sequence
Stores sequence objects used for generated values.
XSD type: http://midpoint.evolveum.com/xml/ns/public/common/common-3#SequenceType
Inherits from: m_assignment_holder
Columns
| Column | Type | Required / constraints | Description |
|---|---|---|---|
|
|
primary key, required |
Sequence object identifier. |
|
|
Indexes
| Name | Columns | Purpose / notes |
|---|---|---|
|
|
Speeds up lookup by original object name. Used for: original name searches |
|
|
Enforces unique normalized object names and speeds up exact name lookup. Used for: normalized name lookup and uniqueness checks. unique |
|
|
Speeds up filtering by object subtype. Used for: subtype filters |
|
|
Speeds up filtering by policy situation. Used for: policy situation filters |
|
|
Speeds up filtering or ordering by creation time. Used for: creation time filters and ordering |
|
|
Speeds up filtering or ordering by modification time. Used for: modification time filters and ordering |
Foreign keys
| Column | References |
|---|---|
|
Triggers
Triggers run routines automatically when table rows are inserted, updated, or deleted.