← All tables

mdl_question_attempt_steps

MIGRATEAssessment answer/event history · 7 columns

Proposed 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.

ColumnTypeNullDefaultTarget mappingRisk
idbigintNot nullPreserve as legacy source ID; generate target PK unless target accepts stable legacy key.High: verify semantics/relationship/security
questionattemptidbigintNot nullResolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
sequencenumberbigintNot nullMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
statevarchar(13)Not null''Map through explicit enum/boolean translation; retain source value and test edge cases.High: verify semantics/relationship/security
fractiondecimal(12,7)NullableMap through explicit enum/boolean translation; retain source value and test edge cases.Schema-only inference
timecreatedbigintNot nullConvert Unix epoch to UTC timestamp; verify 0/null sentinel and date semantics.Schema-only inference
useridbigintNullableResolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security