Localizations
Shared reference of localities/regions
| Column Name | Data Type | Constraints |
|---|---|---|
| id | bigint | NOT NULL |
| region | text | NOT NULL, ISO 3166-1 alpha-2, unique (case-insensitive) |
| inserted_at | timestamp with time zone | DEFAULT timezone('utc'::text, now()) NOT NULL |
Referenced by herds.localization_id, issuers.localization_id, and document_templates.localization_id.
Security Policies (RLS)
RLS enabled. Scope: Global, superadmin-managed catalog.
| Operation | has_herd_ability ability key | Other paths |
|---|---|---|
| SELECT | — | has_view_role_any_herd (herds.read in any herd), device API key, or superadmin |
| INSERT | — | Platform superadmin only |
| UPDATE | — | Platform superadmin only |
| DELETE | — | Platform superadmin only |
Platform superadmin: FOR ALL bypass where defined.