Schema governance audit
Generated by
go run ./cmd/dbdocs; findings are review inputs, not automatic destructive actions.
Columns without comments (27)
auth.identity_tokens.idauth.identity_tokens.user_idauth.identity_tokens.kindauth.identity_tokens.token_digestauth.identity_tokens.payloadauth.identity_tokens.expires_atauth.identity_tokens.consumed_atauth.identity_tokens.created_atauth.login_events.idauth.login_events.user_idauth.login_events.successauth.login_events.risk_scoreauth.login_events.anomalousauth.login_events.ipauth.login_events.user_agentauth.login_events.reasonauth.login_events.created_atusers.product_records.idusers.product_records.kindusers.product_records.owner_idusers.product_records.subject_idusers.product_records.nameusers.product_records.statususers.product_records.payloadusers.product_records.expires_atusers.product_records.created_atusers.product_records.updated_at
Required columns without defaults (31)
audit.audit_logs.actionaudit.audit_logs.entityaudit.event_outbox.idaudit.event_outbox.streamaudit.event_outbox.eventaudit.event_outbox.payloadaudit.processed_messages.message_idauth.change_log.table_nameauth.change_log.operationauth.identity_tokens.kindauth.identity_tokens.token_digestauth.identity_tokens.expires_atauth.login_events.successauth.sessions.user_idauth.sessions.refresh_token_hashauth.sessions.family_idauth.sessions.expires_atrbac.change_log.table_namerbac.change_log.operationrbac.permissions.namerbac.role_permissions.role_idrbac.role_permissions.permission_idrbac.roles.namerbac.user_roles.user_idrbac.user_roles.role_idrbac.user_versions.user_idusers.change_log.table_nameusers.change_log.operationusers.product_records.kindusers.users.emailusers.users.password_hash
Time columns not using TIMESTAMPTZ (0)
None.
ck_/fk_/uq_ naming exceptions (8)
auth.identity_tokens.identity_tokens_kind_checkauth.identity_tokens.identity_tokens_payload_sizeauth.identity_tokens.identity_tokens_token_digest_keyauth.login_events.login_events_risk_score_checkusers.product_records.product_records_kind_checkusers.product_records.product_records_name_lengthusers.product_records.product_records_payload_sizeusers.product_records.product_records_status_length