← All tables

mdl_attendanceregister_session

EXCLUDETransient / runtime state · 10 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
registerbigintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
loginbigintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
logoutbigintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
durationbigintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
useridbigintNot null'0'Resolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
onlinesesstinyint(1)Not null'1'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
refcoursebigintNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
commentsvarchar(255)NullableTransform text/JSON/HTML as appropriate; sanitize and rewrite embedded Moodle URLs/file references.Schema-only inference
addedbyuseridbigintNullableResolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security