@@ -20,11 +20,11 @@ users user_devices
2020│ id │ uuid │ │ id │ uuid │
2121│ status │ smallint │ │ user_id │ uuid │
2222│ email │ text │ │ device_name │ text │
23- └────────────┴────────────┘ │ device_hash │ text │
23+ └────────────┴────────────┘ │ device_hash │ bytea │
2424 │ revoked_at │ timestamp │
2525 └──────────────────┴──────────────┘
2626
27- user_passwords user_passkeys
27+ user_passwords user_passkeys
2828┌───────────────┬────────────────┐ ┌───────────────────┬───────────┐
2929│ created_at │ timestamp │ │ created_at │ timestamp │
3030│ updated_at │ timestamp │ │ last_used_at │ timestamp │
@@ -35,16 +35,16 @@ user_passwords user_passkeys
3535 │ public_key │ bytea │
3636 └───────────────────┴───────────┘
3737
38- user_identities webauthn_challenges oauth_challenges
39- ┌─────────────────┬──────┐ ┌─────────────────┬────────────┐ ┌────────────────────┬──────┐
40- │ created_at │ ... │ │ created_at │ ... │ │ created_at │ ... │
41- │ user_id │ uuid │ │ expires_at │ ... │ │ expires_at │ ... │
42- │ provider │ text │ │ user_id │ uuid │ │ pkce_code_verifier │ text │
43- │ provider_sub_id │ text │ │ device_id │ uuid │ │ client_redirect_uri│ text │
44- │ id │ uuid │ │ challenge_type │ text │ │ provider │ text │
45- └─────────────────┴──────┘ │ challenge_token │ bytea │ │ flow_type │ text │
46- └─────────────────┴────────────┘ │ state │ uuid │
47- └────────────────────┴──────┘
38+ user_identities webauthn_challenges oauth_challenges
39+ ┌─────────────────┬──────┐ ┌─────────────────┬────────────┐ ┌────────────────────┬──────┐
40+ │ created_at │ ... │ │ created_at │ ... │ │ created_at │ ... │
41+ │ user_id │ uuid │ │ expires_at │ ... │ │ expires_at │ ... │
42+ │ provider │ text │ │ user_id │ uuid │ │ pkce_code_verifier │ text │
43+ │ provider_sub_id │ text │ │ device_id │ uuid │ │ client_redirect_uri│ text │
44+ │ id │ uuid │ │ challenge_type │ text │ │ provider │ text │
45+ └─────────────────┴──────┘ │ challenge_token │ bytea │ │ flow_type │ text │
46+ └─────────────────┴────────────┘ │ state │ uuid │
47+ └────────────────────┴──────┘
4848security_audit_logs refresh_tokens
4949┌─────────────────┬──────────────┐ ┌─────────────────┬────────┐
5050│ created_at │ ... │ │ created_at │ ... │
0 commit comments