Files
hlaeja-device-registry/sql/v0.5.0/001-nodes.sql
2025-04-05 12:55:27 +02:00

6 lines
147 B
SQL

-- make device index unique
DROP INDEX IF EXISTS public.i_nodes_type;
CREATE UNIQUE INDEX IF NOT EXISTS i_nodes_device ON public.nodes (device);