Notes2/sql/00003.sql

2 lines
148 B
MySQL
Raw Normal View History

2024-12-03 06:53:31 +01:00
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;