Notes2/sql/00003.sql
Magnus Åhall ac8b334eee Rewrite
2024-12-03 06:53:31 +01:00

2 lines
148 B
SQL

ALTER TABLE public.node ADD CONSTRAINT node_node_fk FOREIGN KEY (parent_uuid) REFERENCES public.node("uuid") ON DELETE SET NULL ON UPDATE SET NULL;