← All tables

mdl_data_fields

INVESTIGATEUnclassified Moodle core/plugin table · 16 columns

Proposed target

Owner decision: migrate, transform, archive or exclude

Migration rule

No safe target inferred from schema name alone

Verification required

Inspect columns, row counts, code references, reports and retention requirements

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
dataidbigintNot null'0'Resolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
typevarchar(255)Not null''Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
namevarchar(255)Not null''Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
descriptionlongtextNot nullTransform text/JSON/HTML as appropriate; sanitize and rewrite embedded Moodle URLs/file references.Schema-only inference
requiredtinyint(1)Not null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
param1longtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
param2longtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
param3longtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
param4longtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
param5longtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
param6longtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
param7longtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
param8longtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
param9longtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
param10longtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference