Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ad_changelog_id | numeric | 10 | null |
|
|
||||||
| ad_session_id | numeric | 10 | null |
|
|
||||||
| ad_table_id | numeric | 10 | null |
|
|
||||||
| ad_column_id | numeric | 10 | null |
|
|
||||||
| ad_client_id | numeric | 10 | null |
|
|
||||||
| ad_org_id | numeric | 10 | null |
|
|
||||||
| isactive | bpchar | 1 | 'Y'::bpchar |
|
|
||||||
| created | timestamp | 29,6 | now() |
|
|
||||||
| createdby | numeric | 10 | null |
|
|
||||||
| updated | timestamp | 29,6 | now() |
|
|
||||||
| updatedby | numeric | 10 | null |
|
|
||||||
| record_id | numeric | 10 | null |
|
|
||||||
| oldvalue | varchar | 4000 | √ | null |
|
|
|||||
| newvalue | varchar | 4000 | √ | null |
|
|
|||||
| undo | bpchar | 1 | √ | null |
|
|
|||||
| redo | bpchar | 1 | √ | null |
|
|
|||||
| iscustomization | bpchar | 1 | 'N'::bpchar |
|
|
||||||
| trxname | varchar | 1000 | √ | null |
|
|
|||||
| description | varchar | 255 | √ | null |
|
|
|||||
| eventchangelog | bpchar | 1 | √ | null |
|
|
|||||
| ad_changelog_uu | varchar | 36 | √ | NULL::character varying |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| ad_changelog_pkey | Primary key | Asc/Asc/Asc/Asc | ad_changelog_id + ad_session_id + ad_table_id + ad_column_id |
| ad_changelog_speed | Performance | Asc/Asc | ad_table_id + record_id |
| ad_changelog_uu_idx | Must be unique | Asc | ad_changelog_uu |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| ad_changelog_iscustomization_check | ((iscustomization = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |
| ad_changelog_isactive_check | ((isactive = ANY (ARRAY['Y'::bpchar, 'N'::bpchar]))) |