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,15 +4,14 @@
|
||||
|
||||
CREATE TABLE IF NOT EXISTS public."Person"
|
||||
(
|
||||
id integer NOT NULL DEFAULT nextval('"Person_id_seq"'::regclass),
|
||||
id SERIAL PRIMARY KEY,
|
||||
email character varying(128) COLLATE pg_catalog."default" NOT NULL,
|
||||
password character varying(128) COLLATE pg_catalog."default" NOT NULL,
|
||||
display_name character varying(128) COLLATE pg_catalog."default" NOT NULL,
|
||||
date_of_birth date,
|
||||
available boolean,
|
||||
enabled boolean NOT NULL DEFAULT false,
|
||||
place_of_living character varying(128) COLLATE pg_catalog."default",
|
||||
CONSTRAINT "Person_pkey" PRIMARY KEY (id)
|
||||
place_of_living character varying(128) COLLATE pg_catalog."default"
|
||||
)
|
||||
|
||||
TABLESPACE pg_default;
|
||||
|
Reference in New Issue
Block a user