← All tables
mdl_local_oauth2_access_token
EXCLUDEAuthentication / secrets / security state · 6 columnsProposed 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.
| Column | Type | Null | Default | Target mapping | Risk |
|---|---|---|---|---|---|
| id | bigint | Not null | Preserve as legacy source ID; generate target PK unless target accepts stable legacy key. | High: verify semantics/relationship/security | |
| access_token | varchar(40) | Not null | '' | EXCLUDE from app migration; credential/secret handling requires security review. | High: verify semantics/relationship/security |
| client_id | varchar(80) | Not null | '' | Resolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs. | High: verify semantics/relationship/security |
| user_id | bigint | Nullable | Resolve to target foreign key via source-ID crosswalk; do not assume numeric IDs match target IDs. | High: verify semantics/relationship/security | |
| expires | bigint | Not null | Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning. | Schema-only inference | |
| scope | varchar(1333) | Nullable | Map same-named field where semantics match; confirm target type, nullability, defaults and business meaning. | Schema-only inference |