Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
token | CHAR | 36 | null |
|
|
Unique token the user will provide to verify the requested action. |
||||
admin_user_id | INT UNSIGNED | 10 | null |
|
|
User id of the admin who requested the editor. |
||||
editor_user_id | INT UNSIGNED | 10 | null |
|
|
User id of the editor who was invited to join the edition. |
||||
edition_id | INT UNSIGNED | 10 | null |
|
|
The id of the edition to be shared. |
||||
is_admin | TINYINT UNSIGNED | 3 | 0 |
|
|
Offering admin rights. |
||||
may_lock | TINYINT UNSIGNED | 3 | 0 |
|
|
Offering locking rights. |
||||
may_write | TINYINT UNSIGNED | 3 | 0 |
|
|
Offering write rights. |
||||
date | DATETIME | 19 | current_timestamp() |
|
|
Date the editor request was sent. |
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc/Asc | editor_user_id + edition_id |
edition_editor_request_to_admin_user_id | Performance | Asc | admin_user_id |
edition_editor_request_to_edition_id | Performance | Asc | edition_id |
edition_editor_request_to_token | Performance | Asc | token |