mirror of
https://github.com/xfarrow/blink
synced 2025-06-27 09:03:02 +02:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user