← All tables
mdl_user_qualification
MIGRATEIdentity / profile / access / user extension · 13 columnsProposed target
Map to users, profiles, external_identity_links, memberships/enrolments as applicable
Migration rule
Preserve Moodle IDs in legacy_id; use immutable IdP subject for login identity
Verification required
Verify PII fields, custom profile semantics, deleted/suspended users, duplicate email and foreign keys
Tracking
Sign in to update status, owner and notes.
| Column | Type | Null | Default | Target mapping | Risk |
|---|---|---|---|---|---|
| id | bigint | Not null | Preserve as legacy source ID; generate target PK unless target accepts stable legacy key. | High: verify semantics/relationship/security | |
| userid | bigint | Not null | Resolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs. | High: verify semantics/relationship/security | |
| qualification | mediumint | Not null | Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning. | Schema-only inference | |
| specialization | varchar(150) | Nullable | Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning. | Schema-only inference | |
| university | mediumint | Nullable | '0' | Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning. | Schema-only inference |
| college | varchar(300) | Not null | '0' | Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning. | Schema-only inference |
| passingyear | mediumint | Nullable | '0' | Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning. | Schema-only inference |
| grade | decimal(5,2) | Nullable | '0.00' | Map through explicit enum/boolean translation; retain source value and test edge cases. | High: verify semantics/relationship/security |
| usermodified | bigint | Not null | '0' | Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning. | Schema-only inference |
| timecreated | bigint | Not null | '0' | Convert Unix epoch to UTC timestamp; verify 0/null sentinel and date semantics. | Schema-only inference |
| timemodified | bigint | Not null | '0' | Convert Unix epoch to UTC timestamp; verify 0/null sentinel and date semantics. | Schema-only inference |
| deleted | tinyint(1) | Nullable | '0' | Map through explicit enum/boolean translation; retain source value and test edge cases. | Schema-only inference |
| joiningyear | mediumint | Nullable | '0' | Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning. | Schema-only inference |