user_grp_link
- Last UpdatedNov 20, 2024
- 1 minute read
The user_grp_link table defines which users are members of which groups. This table allows many-to-many relationships so any user can be a member of multiple groups. This is considered a necessary feature as groups are usually role-based and most users have more than one role.
|
Field |
Datatype |
PK |
Nulls? |
Description |
|---|---|---|---|---|
|
grp_id |
int32 |
Y |
N |
Group ID |
|
user_id |
string40 |
Y |
N |
User ID |
|
last_edit_comment |
string254 |
N |
Y |
Reserved for internal use to indicate why this record was changed |
|
last_edit_by |
string40 |
N |
Y |
Who last changed this record |
|
last_edit_at |
tdatetime |
N |
N |
When this record was last changed |
|
row_id |
ID 1 |
N |
N |
Unique row identifier, for audit trail. |
FK from grp_id to grp_name. (Cascade delete)
FK from user_id to user_name. (Cascade delete)