← All tables

mdl_vpl

MIGRATECore learning content / activity / progress / assessment · 38 columns

Proposed target

Transform into target course, module, attempt, grade, completion, credential and content models

Migration rule

Preserve history and relationships; retain original IDs in legacy_id fields

Verification required

Plugin behavior, attempt state, grading rules, file references and completion logic require application-level verification

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
coursebigintNot null'0'Resolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
namevarchar(255)Not null''Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
shortdescriptionlongtextNot nullTransform text/JSON/HTML as appropriate; sanitize and rewrite embedded Moodle URLs/file references.Schema-only inference
introlongtextNullableTransform text/JSON/HTML as appropriate; sanitize and rewrite embedded Moodle URLs/file references.Schema-only inference
introformattinyintNullable'0'Transform text/JSON/HTML as appropriate; sanitize and rewrite embedded Moodle URLs/file references.Schema-only inference
startdatebigintNot null'0'Convert Unix epoch to UTC timestamp; verify 0/null sentinel and date semantics.Schema-only inference
duedatebigintNot null'0'Convert Unix epoch to UTC timestamp; verify 0/null sentinel and date semantics.Schema-only inference
maxfilessmallintNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
maxfilesizebigintNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
requirednetvarchar(255)NullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
passwordvarchar(255)NullableEXCLUDE from app migration; credential/secret handling requires security review.High: verify semantics/relationship/security
gradebigintNot null'0'Map through explicit enum/boolean translation; retain source value and test edge cases.High: verify semantics/relationship/security
visiblegradetinyintNot null'1'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
usevariationstinyintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
variationtitlevarchar(255)NullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
basedonbigintNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
runtinyintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
debugtinyintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
evaluatetinyintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
evaluateonsubmissiontinyintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
automaticgradingtinyintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
maxexetimemediumintNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
restrictededitortinyintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
exampletinyintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
maxexememorybigintNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
maxexefilesizebigintNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
maxexeprocessesmediumintNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
jailserverslongtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
worktypesmallintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
emailteacherstinyintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
timemodifiedbigintNot null'0'Convert Unix epoch to UTC timestamp; verify 0/null sentinel and date semantics.Schema-only inference
freeevaluationsbigintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
reductionbyevaluationvarchar(10)Not null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
sebrequiredtinyintNullable'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
sebkeysvarchar(255)NullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
runscriptvarchar(63)NullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
debugscriptvarchar(63)NullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference