Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| id | INT | 10 | √ | null |
|
|
Primary id for this table. This uniquely identifies the row. |
|||
| dataset_id | INT | 10 | null |
|
|
Foreign key to datasets (datasets.id). |
||||
| user_id | INT | 10 | √ | null |
|
|
Foreign key to Gatekeeper users (Gatekeeper usersid). |
|||
| group_id | INT | 10 | √ | null |
|
|
Foreign key to usergroups table. |
|||
| created_on | DATETIME | 26 | √ | CURRENT_TIMESTAMP |
|
|
When the record was created. |
|||
| updated_on | TIMESTAMP | 26 | √ | CURRENT_TIMESTAMP |
|
|
When the record was updated. This may be different from the created on date if subsequent changes have been made to the underlying record. |
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | id |
| datasetpermissions_ibfk1 | Performance | Asc | dataset_id |
| group_id | Performance | Asc | group_id |