← All tables

mdl_attendance_sessions

EXCLUDETransient / runtime state · 28 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
attendanceidbigintNot null'0'Resolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
groupidbigintNot null'0'Resolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
sessdatebigintNot null'0'Convert Unix epoch to UTC timestamp; verify 0/null sentinel and date semantics.Schema-only inference
durationbigintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
lasttakenbigintNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
lasttakenbybigintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
timemodifiedbigintNullableConvert Unix epoch to UTC timestamp; verify 0/null sentinel and date semantics.Schema-only inference
descriptionlongtextNot nullTransform text/JSON/HTML as appropriate; sanitize and rewrite embedded Moodle URLs/file references.Schema-only inference
descriptionformattinyintNot null'0'Transform text/JSON/HTML as appropriate; sanitize and rewrite embedded Moodle URLs/file references.Schema-only inference
studentscanmarktinyint(1)Not null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
allowupdatestatustinyint(1)Not null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
studentsearlyopentimebigintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
autoassignstatustinyint(1)Not null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
studentpasswordvarchar(50)Nullable''EXCLUDE from app migration; credential/secret handling requires security review.High: verify semantics/relationship/security
subnetvarchar(255)NullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
automarktinyint(1)Not null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
automarkcompletedtinyint(1)Not null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
statussetmediumintNot null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
absenteereporttinyint(1)Not null'1'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
preventsharediptinyint(1)Not null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
preventsharediptimebigintNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
caleventidbigintNot null'0'Resolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
calendareventtinyint(1)Not null'1'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
includeqrcodetinyint(1)Not null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
rotateqrcodetinyint(1)Not null'0'Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
rotateqrcodesecretvarchar(10)NullableEXCLUDE from app migration; credential/secret handling requires security review.High: verify semantics/relationship/security
automarkcmidbigintNullable'0'Resolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security