Update Node
- add error handing for - foreign key constraint - unique constraint - Update nodes database
This commit is contained in:
5
sql/001-nodes.sql
Normal file
5
sql/001-nodes.sql
Normal file
@@ -0,0 +1,5 @@
|
||||
-- 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);
|
||||
Reference in New Issue
Block a user