CREATE SEQUENCE public.out_site_patient_id_seq
  INCREMENT 1
  MINVALUE 1
  MAXVALUE 9223372036854775807
  START 11
  CACHE 1;
ALTER TABLE public.out_site_patient_id_seq
  OWNER TO postgres;


CREATE TABLE "public"."out_site_patient" (
"id" int8 DEFAULT nextval('out_site_patient_id_seq'::regclass) NOT NULL,
"first_name" varchar(100),
"last_name" varchar(100),
"password" varchar(20),
"document" varchar(20),
"email" varchar(100),
"portal" bool,
"who_modify" int4,
"user_creation" int4,
"created_at" timestamp,
"updated_at" timestamp,
PRIMARY KEY ("id")
)
WITH (OIDS=FALSE)
;