← All tables

mdl_h5p_libraries

MIGRATECore learning content / activity / progress / assessment · 20 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
machinenamevarchar(255)Not null''Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
titlevarchar(255)Not null''Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
majorversionsmallintNot nullMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
minorversionsmallintNot nullMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
patchversionsmallintNot nullMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
runnabletinyint(1)Not nullMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
fullscreentinyint(1)Not null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
embedtypesvarchar(255)Not null''Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
preloadedjslongtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
preloadedcsslongtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
droplibrarycsslongtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
semanticslongtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
addtolongtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
coremajorsmallintNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
coreminorsmallintNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
metadatasettingslongtextNullableTransform text/JSON/HTML as appropriate; sanitize and rewrite embedded Moodle URLs/file references.High: verify semantics/relationship/security
tutoriallongtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
examplelongtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
enabledtinyint(1)Nullable'1'Map through explicit enum/boolean translation; retain source value and test edge cases.Schema-only inference