← All tables

mdl_question_calculated

ARCHIVELogs / analytics / technical history · 7 columns

Proposed target

Archive compressed; selectively transform required reporting aggregates

Migration rule

Usually not required for core LMS runtime

Verification required

Identify compliance/audit and analytics use cases before exclusion

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
questionbigintNot null'0'Resolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.Schema-only inference
answerbigintNot null'0'Transform text/JSON/HTML as appropriate; sanitize and rewrite embedded Moodle URLs/file references.Schema-only inference
tolerancevarchar(20)Not null'0.0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
tolerancetypebigintNot null'1'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
correctanswerlengthbigintNot null'2'Transform text/JSON/HTML as appropriate; sanitize and rewrite embedded Moodle URLs/file references.Schema-only inference
correctanswerformatbigintNot null'2'Transform text/JSON/HTML as appropriate; sanitize and rewrite embedded Moodle URLs/file references.Schema-only inference