← All tables

mdl_task_adhoc

EXCLUDETransient / runtime state · 13 columns

Proposed target

Do not migrate; recreate runtime state

Migration rule

Sessions, locks, queues and caches are not business records

Verification required

Confirm no custom business meaning is hidden in plugin table

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
componentvarchar(255)Not null''Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
classnamevarchar(255)Not null''Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
nextruntimebigintNot nullMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
faildelaybigintNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
customdatalongtextNullableTransform text/JSON/HTML as appropriate; sanitize and rewrite embedded Moodle URLs/file references.High: verify semantics/relationship/security
useridbigintNullableResolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
timecreatedbigintNot null'0'Convert Unix epoch to UTC timestamp; verify 0/null sentinel and date semantics.Schema-only inference
timestartedbigintNullableConvert Unix epoch to UTC timestamp; verify 0/null sentinel and date semantics.Schema-only inference
hostnamevarchar(255)NullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
pidbigintNullableResolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
attemptsavailabletinyintNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
firststartingtimebigintNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference