Files
rust-discovery/migrations/0045_device_purpose.sql
T
kevin_janssen 2070ae95e7
Rust development slice / linux (push) Failing after 13s
Add editable purpose to device inventory
2026-11-19 15:07:26 +01:00

4 lines
217 B
SQL

-- Operator metadata belongs to the asset, not the installation or its inventory.
ALTER TABLE assets ADD COLUMN purpose text CHECK (char_length(purpose) BETWEEN 1 AND 500);
GRANT UPDATE(purpose) ON assets TO rmm_app;