Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
|---|---|---|---|---|---|---|---|---|---|---|
| id | BIGINT | 19 | √ | null | 
                                        
  | 
                                    
                                         | 
                                    ||||
| courseid | BIGINT | 19 | null | 
                                         | 
                                    
                                        
  | 
                                    Course id of the subscription  | 
                                ||||
| ruleid | BIGINT | 19 | null | 
                                         | 
                                    
                                        
  | 
                                    Rule id  | 
                                ||||
| cmid | BIGINT | 19 | null | 
                                         | 
                                    
                                         | 
                                    Course module id  | 
                                ||||
| userid | BIGINT | 19 | null | 
                                         | 
                                    
                                         | 
                                    User id of the subscriber  | 
                                ||||
| timecreated | BIGINT | 19 | null | 
                                         | 
                                    
                                         | 
                                    Timestamp of when this subscription was created  | 
                                ||||
| lastnotificationsent | BIGINT | 19 | 0 | 
                                         | 
                                    
                                         | 
                                    Timestamp of the time when a notification was last sent for this subscription.  | 
                                ||||
| inactivedate | BIGINT | 19 | 0 | 
                                         | 
                                    
                                         | 
                                    
Indexes
| Constraint Name | Type | Sort | Column(s) | 
|---|---|---|---|
| PRIMARY | Primary key | Asc | id | 
| toolmonisubs_couuse_ix | Performance | Asc/Asc | courseid + userid | 
| toolmonisubs_rul_ix | Performance | Asc | ruleid |