Notes/sql/00008.sql

3 lines
206 B
MySQL
Raw Normal View History

2023-07-12 22:35:38 +02: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;