← All tables
mdl_question_attempt_steps
MIGRATEAssessment answer/event history · 7 columnsProposed target
assessment_attempt_events
Migration rule
Preserve sequence, state, fraction, timestamps and user action
Verification required
Question step data may contain sensitive answers; confirm retention and target event schema.
Tracking
Sign in to update status, owner and notes.
| Column | Type | Null | Default | Target mapping | Risk |
|---|---|---|---|---|---|
| id | bigint | Not null | Preserve as legacy source ID; generate target PK unless target accepts stable legacy key. | High: verify semantics/relationship/security | |
| questionattemptid | bigint | Not null | Resolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs. | High: verify semantics/relationship/security | |
| sequencenumber | bigint | Not null | Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning. | Schema-only inference | |
| state | varchar(13) | Not null | '' | Map through explicit enum/boolean translation; retain source value and test edge cases. | High: verify semantics/relationship/security |
| fraction | decimal(12,7) | Nullable | Map through explicit enum/boolean translation; retain source value and test edge cases. | Schema-only inference | |
| timecreated | bigint | Not null | Convert Unix epoch to UTC timestamp; verify 0/null sentinel and date semantics. | Schema-only inference | |
| userid | bigint | Nullable | Resolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs. | High: verify semantics/relationship/security |