← All tables
mdl_question_calculated
ARCHIVELogs / analytics / technical history · 7 columnsProposed 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.
| 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 | |
| question | bigint | Not null | '0' | Resolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs. | Schema-only inference |
| answer | bigint | Not null | '0' | Transform text/JSON/HTML as appropriate; sanitize and rewrite embedded Moodle URLs/file references. | Schema-only inference |
| tolerance | varchar(20) | Not null | '0.0' | Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning. | Schema-only inference |
| tolerancetype | bigint | Not null | '1' | Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning. | Schema-only inference |
| correctanswerlength | bigint | Not null | '2' | Transform text/JSON/HTML as appropriate; sanitize and rewrite embedded Moodle URLs/file references. | Schema-only inference |
| correctanswerformat | bigint | Not null | '2' | Transform text/JSON/HTML as appropriate; sanitize and rewrite embedded Moodle URLs/file references. | Schema-only inference |