# course_completion_defaults

0 rows

### Description

Default settings for activities completion

### Columns

Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments
--- | --- | --- | --- | --- | --- | --- | --- | ---
id | BIGINT | 19 |  | √ | null |  |  |
course | BIGINT | 19 |  |  | null |  |
course.id | courcompdefa_cou2_fkR
module | BIGINT | 19 |  |  | null |  |
modules.id | courcompdefa_mod2_fkR
completion | BIT | 1 |  |  | 0 |  |  |
completionview | BIT | 1 |  |  | 0 |  |  |
completionusegrade | BIT | 1 |  |  | 0 |  |  |
completionpassgrade | BIT | 1 |  |  | 0 |  |  |
completionexpected | BIGINT | 19 |  |  | 0 |  |  |
customrules | LONGTEXT | 2147483647 | √ |  | null |  |  |

### Indexes

Constraint Name | Type | Sort | Column(s)
--- | --- | --- | ---
PRIMARY | Primary key | Asc | id
courcompdefa_cou_ix | Performance | Asc | course
courcompdefa_coumod_uix | Must be unique | Asc/Asc | course + module
courcompdefa_mod_ix | Performance | Asc | module

### Relationships