← All tables

mdl_block_xp_config

INVESTIGATEPlugin / custom business / integration data · 26 columns

Proposed target

Map only after owner and UI/API usage review; migrate active business records, archive obsolete history

Migration rule

Target model depends on workflows, relationships, status semantics and plugin code

Verification required

Inspect plugin source, controllers, scheduled tasks, external APIs, sample data and foreign-key conventions

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
courseidbigintNot nullResolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
enabledtinyint(1)Not null'0'Map through explicit enum/boolean translation; retain source value and test edge cases.Schema-only inference
levelsbigintNot nullMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
lastlogpurgebigintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
enablecheatguardtinyint(1)Not null'1'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
enableladdertinyint(1)Not null'1'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
enableinfostinyint(1)Not null'1'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
levelsdatalongtextNullableTransform text/JSON/HTML as appropriate; sanitize and rewrite embedded Moodle URLs/file references.High: verify semantics/relationship/security
enablelevelupnotiftinyint(1)Not null'1'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
enablecustomlevelbadgestinyint(1)Not null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
maxactionspertimebigintNot null'10'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
timeformaxactionsbigintNot null'60'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
timebetweensameactionsbigintNot null'180'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
identitymodetinyintNot null'1'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
rankmodetinyintNot null'1'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
neighbourstinyintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
defaultactionrulesbigintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
defaultfiltersbigintNot null'1'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
laddercolsvarchar(255)Not null'xp,progress'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
instructionslongtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
instructions_formattinyintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
blocktitlelongtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
blockdescriptionlongtextNullableTransform text/JSON/HTML as appropriate; sanitize and rewrite embedded Moodle URLs/file references.Schema-only inference
blockrecentactivitytinyint(1)NullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
blockrankingsnapshottinyint(1)Not null'1'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference