← All tables

mdl_external_tokens

EXCLUDEAuthentication / secrets / security state · 14 columns

Proposed target

Use IdP as source of identity; do not copy passwords, tokens or secrets

Migration rule

Security-sensitive credentials must not be migrated to app data store

Verification required

Verify IdP subject mapping, SSO claims, MFA policy, account-linking and revocation

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
tokenvarchar(128)Not null''EXCLUDE from app migration; credential/secret handling requires security review.High: verify semantics/relationship/security
privatetokenvarchar(64)NullableEXCLUDE from app migration; credential/secret handling requires security review.High: verify semantics/relationship/security
tokentypesmallintNot nullEXCLUDE from app migration; credential/secret handling requires security review.High: verify semantics/relationship/security
useridbigintNot nullResolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
externalserviceidbigintNot nullResolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
sidvarchar(128)NullableResolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
contextidbigintNot nullResolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
creatoridbigintNot null'1'Resolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs.High: verify semantics/relationship/security
iprestrictionvarchar(255)NullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
validuntilbigintNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
timecreatedbigintNot nullConvert Unix epoch to UTC timestamp; verify 0/null sentinel and date semantics.Schema-only inference
lastaccessbigintNullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference
namevarchar(255)NullableMap same-named field where semantics match; confirm target type, nullability, defaults and business meaning.Schema-only inference