Layers
Table for storing GeoJSON feature layers associated with herds
| Column Name | Data Type | Constraints |
|---|---|---|
| id | bigint | NOT NULL |
| created_at | timestamp with time zone | DEFAULT now() NOT NULL |
| features | json | NOT NULL |
| herd_id | bigint | NOT NULL |
Security Policies (RLS)
RLS enabled. Herd scope: Herd from layers.herd_id.
| Operation | has_herd_ability ability key | Other paths |
|---|---|---|
| SELECT | map.read | — |
| INSERT | map.write | — |
| UPDATE | map.write | — |
| DELETE | map.write | — |
Platform superadmin: FOR ALL bypass where defined.