← All tables

mdl_grading_definitions

INVESTIGATEUnclassified Moodle core/plugin table · 14 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
areaidbigintNot nullResolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
methodvarchar(100)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
descriptionlongtextNullableTransform text/JSON/HTML as appropriate; sanitize and rewrite embedded Moodle URLs/file references.Schema-only inference
descriptionformattinyintNullableTransform text/JSON/HTML as appropriate; sanitize and rewrite embedded Moodle URLs/file references.Schema-only inference
statusbigintNot null'0'Map through explicit enum/boolean translation; retain source value and test edge cases.High: verify semantics/relationship/security
copiedfromidbigintNullableResolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
timecreatedbigintNot nullConvert Unix epoch to UTC timestamp; verify 0/null sentinel and date semantics.Schema-only inference
usercreatedbigintNot nullMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
timemodifiedbigintNot nullConvert Unix epoch to UTC timestamp; verify 0/null sentinel and date semantics.Schema-only inference
usermodifiedbigintNot nullMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
timecopiedbigintNullable'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
optionslongtextNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference