ReferenceSchemasDatabases
Database schemas
All five Ionize databases and their tables
Ionize uses five PostgreSQL databases. Four are owned by Ory (Kratos and Hydra, per-domain); one (ionize) is owned by the Ionize SDK.
Databases
| Database | Owner |
|---|---|
ciam_kratos | Ory Kratos (CIAM) |
ciam_hydra | Ory Hydra (CIAM) |
iam_kratos | Ory Kratos (IAM) |
iam_hydra | Ory Hydra (IAM) |
ionize | Ionize SDK |
ionize tables
The SDK-owned tables, each documented on its own page:
ciam_settings— Key-value settings vault for the CIAM domain. Encrypted values use thev2:prefix.iam_settings— Same schema asciam_settings, but for the IAM domain.locations— Login location history per session.login_attempts— Recent login attempts, used by the brute-force protection logic.lockouts— Active and historical brute-force lockouts.security_audit— Audit log of security-relevant events.
Connection
All connections use sslmode=verify-full in production. See Deploy — Database SSL verify-full.