-- DROP LINK "public.profile.fk_8157aa0fc7e48224" --------------
ALTER TABLE "public"."profile" DROP CONSTRAINT IF EXISTS "fk_8157aa0fc7e48224";
-- -------------------------------------------------------------

-- CREATE LINK "public.profile.fk_8157aa0fc7e48224" ------------
ALTER TABLE "public"."profile"
	ADD CONSTRAINT "fk_8157aa0fc7e48224" FOREIGN KEY ( "nas_id" )
	REFERENCES "public"."nas" ( "id" ) MATCH SIMPLE
	ON DELETE Cascade
	ON UPDATE No Action;
-- -------------------------------------------------------------