Update SQL

modificato:             backend/sql/1-create_person.sql
	modificato:             backend/sql/2-create_activation_link.sql
	modificato:             backend/sql/3-create_organization.sql
	modificato:             backend/sql/4-create_organization_post.sql
This commit is contained in:
xfarrow
2023-10-12 21:00:51 +02:00
parent b03f109590
commit ad43563c05
4 changed files with 6 additions and 10 deletions

View File

@ -4,9 +4,8 @@
CREATE TABLE IF NOT EXISTS public."ActivationLink"
(
identifier character varying COLLATE pg_catalog."default" NOT NULL,
identifier character varying PRIMARY KEY COLLATE pg_catalog."default" ,
person_id integer NOT NULL,
CONSTRAINT "ActivationLink_pkey" PRIMARY KEY (identifier),
CONSTRAINT "PersonActivationLinkFK" FOREIGN KEY (person_id)
REFERENCES public."Person" (id) MATCH SIMPLE
ON UPDATE CASCADE