Notes2/sql/00008.sql
Magnus Åhall 9a164b984a wip
2024-11-29 09:15:42 +01:00

3 lines
206 B
SQL

ALTER TABLE public.node ADD crypto_key_id int4 NULL;
ALTER TABLE public.node ADD CONSTRAINT crypto_key_fk FOREIGN KEY (crypto_key_id) REFERENCES public.crypto_key(id) ON DELETE RESTRICT ON UPDATE RESTRICT;