Native PostgreSQL Upgrade Script: postgres-upgrade.sql
- Version summary
- postgres-upgrade.sql - midPoint 4.11
- postgres-upgrade.sql - midPoint 4.10
- postgres-upgrade.sql - midPoint 4.9
- postgres-upgrade.sql - midPoint 4.8
- postgres-upgrade.sql - midPoint 4.7
- postgres-upgrade.sql - midPoint 4.6
- postgres-upgrade.sql - midPoint 4.5
- postgres-upgrade.sql - midPoint 4.4.1
This page documents schema changes applied to existing databases by config/sql/native/postgres-upgrade.sql.
Version summary
| MidPoint version | Changes range |
|---|---|
52-58 |
|
51 |
|
26-50 |
|
16-25 |
|
12-15 |
|
6-11 |
|
2-5 |
|
1 |
postgres-upgrade.sql - midPoint 4.11
Changes
| Change | Description |
|---|---|
Adds display and preferred name columns and indexes to users. |
|
Recreates connector type/version uniqueness indexes with connector-host specific predicates. |
|
Drops old connector type/version uniqueness indexes before recreating them. |
|
Adds connector development object table and triggers. |
|
Adds |
|
Adds application object table, triggers, and indexes. |
|
Adds |
postgres-upgrade.sql - midPoint 4.10
Changes
| Change | Description |
|---|---|
Updates shadow partition creation function to disable and re-enable only user triggers. |
postgres-upgrade.sql - midPoint 4.9
Changes
| Change | Description |
|---|---|
Adds overall confidence column and index to role analysis outlier partitions. |
|
Adds role analysis detected pattern and outlier partition tables, columns, and indexes. |
|
Adds role analysis cluster detected pattern and outlier partition container type values. |
|
Adds last login timestamp column and index to shadows. |
|
Adds target object reference columns and indexes to role analysis outliers. |
|
Adds shadow enable/disable timestamp and disable reason columns. |
|
Renames shadow kind value from |
|
Adds shadow partition management functions, partition definition table, and triggers. |
|
Converts shadow storage to resource-partitioned shadow tables and recreates object view. |
|
Adds assignment effective mark reference table and target lookup index. |
|
Adds |
|
Adds task affected object reference table, foreign key, and target lookup index. |
|
Adds |
|
Adds shadow reference attribute table and owner OID index. |
|
Adds role analysis outlier table and triggers. |
|
Adds |
|
Updates assignment metadata primary key and adds foreign key to assignments. |
|
Adds assignment metadata table and updates assignment approval reference keys. |
|
Adds |
|
Adds |
|
Adds schema object table and triggers. |
|
Adds |
|
Adds policy object table, triggers, and indexes. |
|
Adds |
|
Adds separate full object storage to assignments, operation executions, and selected reference tables. |
postgres-upgrade.sql - midPoint 4.8
Changes
| Change | Description |
|---|---|
Updates organization closure refresh procedure to use advisory locking. |
|
Adds connector display name columns. |
|
Adds role analysis cluster and role analysis session tables, triggers, and indexes. |
|
Adds |
|
Adds personal number column to users. |
|
Adds execution mode and predefined configuration enum types and task affected object columns. |
|
Recreates task affected object indexing table. |
|
Adds resource super-reference columns. |
|
Keeps change number reserved for replaced task affected object indexing change. |
|
Adds |
postgres-upgrade.sql - midPoint 4.7
Changes
| Change | Description |
|---|---|
Adds queryable |
|
Renames approval reference indexes to use consistent naming. |
|
Adds simulation result, processed object, mark, and effective mark tables, triggers, functions, and indexes. |
|
Adds simulation, mark, and related reference/container enum values. |
postgres-upgrade.sql - midPoint 4.6
Changes
| Change | Description |
|---|---|
Adds connector availability flag. |
|
Adds resource template flag. |
|
Adds focus identity container table and normalized focus data indexing. |
|
Adds fuzzy string matching extension and |
|
Adds administrative availability status column to resources. |
|
Adds |
postgres-upgrade.sql - midPoint 4.5
Changes
| Change | Description |
|---|---|
Adds correlation timestamps and situation columns to shadows, including supporting indexes. |
|
Adds |
|
Adds |
|
Adds |
postgres-upgrade.sql - midPoint 4.4.1
Changes
| Change | Description |
|---|---|
Adds triggers that mark organization closure data for refresh after organization insert, delete, or truncate. |