2023-10-12 12:23:18 +02:00
|
|
|
-- Table: public.Person
|
|
|
|
|
|
|
|
-- DROP TABLE IF EXISTS public."Person";
|
|
|
|
|
|
|
|
CREATE TABLE IF NOT EXISTS public."Person"
|
|
|
|
(
|
2023-10-12 21:00:51 +02:00
|
|
|
id SERIAL PRIMARY KEY,
|
2023-10-12 12:23:18 +02:00
|
|
|
email character varying(128) COLLATE pg_catalog."default" NOT NULL,
|
|
|
|
password character varying(128) COLLATE pg_catalog."default" NOT NULL,
|
2023-10-12 18:05:14 +02:00
|
|
|
display_name character varying(128) COLLATE pg_catalog."default" NOT NULL,
|
2023-10-12 12:23:18 +02:00
|
|
|
date_of_birth date,
|
|
|
|
available boolean,
|
|
|
|
enabled boolean NOT NULL DEFAULT false,
|
2023-10-12 21:00:51 +02:00
|
|
|
place_of_living character varying(128) COLLATE pg_catalog."default"
|
2023-10-12 12:23:18 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
TABLESPACE pg_default;
|
|
|
|
|
|
|
|
ALTER TABLE IF EXISTS public."Person"
|
|
|
|
OWNER to pg_database_owner;
|