Database
Manage DB
Browse collections and tables, and watch the CQRS timing pipeline.
Usersusers
Login identities managed by Better Auth. Sessions, accounts, and verification tokens are not browsable here.
π‘
Operational Purpose & Edge Invariants
A user is a way to sign in (password, email code, passkey, Google). The human behind it is the linked people record. `role` is the platform-wide role from the Better Auth admin plugin ('admin' for ChekkPoint staff); organization and event roles live elsewhere.
Relational Connections (2)
Table Columns & Types (11)
users| Column | PostgreSQL Type | Constraints | Default | Documentation |
|---|---|---|---|---|
| id | uuid | NOT NULLPK | gen_random_uuid() | Unique user identifier. |
| name | text | NOT NULL | β | Display name. |
| text | NOT NULLUnique | β | Sign-in email. | |
| emailVerified | boolean | NOT NULL | false | True once the user proved mailbox ownership; gates claiming a person record. |
| image | text | nullable | β | Avatar URL. |
| role | text | nullable | β | Platform role from the admin plugin ('user' or 'admin'). |
| banned | boolean | nullable | false | Banned by a platform admin. |
| banReason | text | nullable | β | Reason given for the ban. |
| banExpires | timestamp with time zone | nullable | β | When the ban lifts. |
| createdAt | timestamp with time zone | NOT NULL | now() | Creation timestamp. |
| updatedAt | timestamp with time zone | NOT NULL | now() | Last modification timestamp. |
Database Indexes (1)
| Index Name | Columns | Type | Query Performance Rationale |
|---|---|---|---|
| users_email_unique | (email) | UNIQUE | One login per email address. |