Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | CHAR | 36 | null | 
 | 
 | |||||||||
| date_entered | DATETIME | 26 | √ | null |  |  | ||||||||
| date_modified | DATETIME | 26 | √ | null |  |  | ||||||||
| modified_user_id | CHAR | 36 | √ | null |  | 
 | ||||||||
| created_by | CHAR | 36 | √ | null |  | 
 | ||||||||
| deleted | BIT | 1 | √ | 0 |  |  | ||||||||
| parent_type | VARCHAR | 100 | √ | null |  |  | ||||||||
| parent_id | CHAR | 36 | null |  |  | |||||||||
| sync_key | VARCHAR | 100 | √ | null |  |  | 
Indexes
| Constraint Name | Type | Sort | Column(s) | 
|---|---|---|---|
| PRIMARY | Primary key | Asc | id | 
| idx_subscriptions_del_d_e | Performance | Asc/Asc/Asc | deleted + date_entered + id | 
| idx_subscriptions_del_d_m | Performance | Asc/Asc/Asc | deleted + date_modified + id | 
| idx_subscriptions_id_del | Performance | Asc/Asc | id + deleted | 
| idx_subscriptions_skey | Must be unique | Asc | sync_key | 
| subscription_parent | Performance | Asc | parent_id | 

