← All tables

mdl_customfield_data

INVESTIGATEUnclassified Moodle core/plugin table · 13 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
fieldidbigintNot nullResolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
instanceidbigintNot nullResolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
intvaluebigintNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
decvaluedecimal(10,5)NullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
shortcharvaluevarchar(255)NullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
charvaluevarchar(1333)NullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
valuelongtextNot nullMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
valueformatbigintNot nullMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
valuetrusttinyintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
timecreatedbigintNot nullConvert Unix epoch to UTC timestamp; verify 0/null sentinel and date semantics.Schema-only inference
timemodifiedbigintNot nullConvert Unix epoch to UTC timestamp; verify 0/null sentinel and date semantics.Schema-only inference
contextidbigintNullableResolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security