2023-10-12 12:23:18 +02:00
|
|
|
-- Table: public.ActivationLink
|
|
|
|
|
|
|
|
-- DROP TABLE IF EXISTS public."ActivationLink";
|
|
|
|
|
|
|
|
CREATE TABLE IF NOT EXISTS public."ActivationLink"
|
|
|
|
(
|
2023-10-12 21:00:51 +02:00
|
|
|
identifier character varying PRIMARY KEY COLLATE pg_catalog."default" ,
|
2023-10-12 12:23:18 +02:00
|
|
|
person_id integer NOT NULL,
|
|
|
|
CONSTRAINT "PersonActivationLinkFK" FOREIGN KEY (person_id)
|
|
|
|
REFERENCES public."Person" (id) MATCH SIMPLE
|
|
|
|
ON UPDATE CASCADE
|
|
|
|
ON DELETE CASCADE
|
|
|
|
)
|
|
|
|
|
|
|
|
TABLESPACE pg_default;
|
|
|
|
|
|
|
|
ALTER TABLE IF EXISTS public."ActivationLink"
|
|
|
|
OWNER to pg_database_owner;
|