Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| role_id | int8 | 19 | √ | null |
|
|
Automatically generated key used to identify the uniqueness of a Role within the FAM Application |
|||||||||||||
| role_name | varchar | 100 | null |
|
|
|||||||||||||||
| role_purpose | varchar | 300 | √ | null |
|
|
||||||||||||||
| parent_role_id | int8 | 19 | √ | null |
|
|
Automatically generated key used to identify the uniqueness of a Role within the FAM Application |
|||||||||||||
| application_id | int8 | 19 | null |
|
|
|||||||||||||||
| client_number_id | int8 | 19 | √ | null |
|
|
Sequentially assigned number to identify a ministry client. |
|||||||||||||
| create_user | varchar | 100 | null |
|
|
The user or proxy account that created the record. |
||||||||||||||
| create_date | timestamptz | 35,6 | CURRENT_TIMESTAMP |
|
|
The date and time the record was created. |
||||||||||||||
| update_user | varchar | 100 | √ | null |
|
|
The user or proxy account that created or last updated the record. |
|||||||||||||
| update_date | timestamptz | 35,6 | CURRENT_TIMESTAMP |
|
|
The date and time the record was created or last updated. |
||||||||||||||
| role_type_code | varchar | 2 | null |
|
|
Identifies if the role is an abstract or concrete role. Users should only be assigned to roles where role_type=concrete |
||||||||||||||
| display_name | varchar | 100 | √ | null |
|
|
Human redable name for the role |
|||||||||||||
| call_api_flag | bool | 1 | √ | false |
|
|
Indicates whether the role has permission to call FAM external APIs. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| fam_rle_pk | Primary key | Asc | role_id |
| fam_rlnm_app_uk | Must be unique | Asc/Asc | role_name + application_id |
| Ref1223 | Performance | Asc | parent_role_id |
| Ref424 | Performance | Asc | client_number_id |
| Ref722 | Performance | Asc | application_id |

