Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | INT | 10 | √ | null |
|
|
Primary id for this table. This uniquely identifies the row. |
||||
| foreign_id | INT | 10 | null |
|
|
Foreign key to table. |
|||||
| group_id | INT | 10 | null |
|
|
Foreign key to groups (groups.id). |
|||||
| created_on | DATETIME | 19 | √ | CURRENT_TIMESTAMP |
|
|
When the record was created. |
||||
| updated_on | TIMESTAMP | 19 | √ | 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 |
| group_id | Performance | Asc | group_id |
| groupmembers_foreign | Performance | Asc | foreign_id |