cert_user_link
- Last UpdatedNov 20, 2024
- 1 minute read
The cert_user_link table allows many-to-many relationship between users and certifications. If a user is not certified for something, there is no record in this table, as opposed to there being a record with a certification level of 0.
|
Field |
Datatype |
PK |
Nulls? |
Description |
|---|---|---|---|---|
|
cert_name |
string40 |
Y |
N |
Unique name for certification |
|
user_id |
string40 |
Y |
N |
Identify user |
|
cert_level |
int32 |
N |
N |
Assigned certification level, minimum 1, default 1 |
|
expiry |
tsmalldatetime |
N |
Y |
When certification expires, in UTC; NULL if it never expires |
|
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 cert_name to cert_type. (Cascade delete)
FK from user_id to user_name. (Cascade delete)