Skip to content

Commit c81f50c

Browse files
docs: clarified status enumeration usage
1 parent bde718b commit c81f50c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/decisions/0022-competency-criteria-model.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,21 +180,21 @@ Decision
180180
1. `id`: unique primary key
181181
2. `competency_criteria_id`: Foreign key to `CompetencyCriterion.id`
182182
3. `user_id`: Foreign key pointing to user_id (presumably the learner's id, although it appears that it is possible for staff to get grades as well) in `auth_user` table
183-
4. `status`: “Demonstrated”, “AttemptedNotDemonstrated”, “PartiallyAttempted”
183+
4. `status`: Enumeration of “Demonstrated”, “AttemptedNotDemonstrated”, and “PartiallyAttempted”. This field should be very small and not varchar(100) as it will be part of an index.
184184
5. `timestamp`: The timestamp at which the student's criterion status was set.
185185
2. Add a new database table for `student_competencycriteriagroupstatus` with these columns:
186186

187187
1. `id`: unique primary key
188188
2. `competency_criteria_group_id`: Foreign key to `CompetencyCriteriaGroup.id`
189189
3. `user_id`: Foreign key pointing to user_id (presumably the learner's id, although it appears that it is possible for staff to get grades as well) in `auth_user` table
190-
4. `status`: “Demonstrated”, “AttemptedNotDemonstrated”, “PartiallyAttempted”
190+
4. `status`: Enumeration of “Demonstrated”, “AttemptedNotDemonstrated”, and “PartiallyAttempted”. This field should be very small and not varchar(100) as it will be part of an index.
191191
5. `timestamp`: The timestamp at which the student's criteria-group status was set.
192192
3. Add a new database table for `student_competencystatus` with these columns:
193193

194194
1. `id`: unique primary key
195195
2. `oel_tagging_tag_id`: Foreign key pointing to Tag id
196196
3. `user_id`: Foreign key pointing to user_id (presumably the learner's id, although it appears that it is possible for staff to get grades as well) in `auth_user` table
197-
4. `status`: “Demonstrated” or “PartiallyAttempted”
197+
4. `status`: Enumeration of “Demonstrated” and “PartiallyAttempted”. This field should be very small and not varchar(100) as it will be part of an index.
198198
5. `timestamp`: The timestamp at which the student's competency status was set.
199199

200200
7. Delete protection boundaries

0 commit comments

Comments
 (0)