Notes2/sql/00008.sql

3 lines
206 B
MySQL
Raw Normal View History

2024-11-29 09:15:42 +01:00
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;