Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| subscription_id | BIGINT | 19 | √ | null |
|
|
||||
| journal_id | BIGINT | 19 | null |
|
|
|||||
| user_id | BIGINT | 19 | null |
|
|
|||||
| type_id | BIGINT | 19 | null |
|
|
|||||
| date_start | DATE | 10 | √ | NULL |
|
|
||||
| date_end | DATETIME | 19 | √ | NULL |
|
|
||||
| status | SMALLINT | 5 | 1 |
|
|
|||||
| membership | VARCHAR | 40 | √ | NULL |
|
|
||||
| reference_number | VARCHAR | 40 | √ | NULL |
|
|
||||
| notes | TEXT | 65535 | √ | NULL |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| PRIMARY | Primary key | Asc | subscription_id |
| subscriptions_journal_id | Performance | Asc | journal_id |
| subscriptions_type_id | Performance | Asc | type_id |
| subscriptions_user_id | Performance | Asc | user_id |

