create table log_patient_consent
(
    patient_consent      varchar(10)                                                                                       not null,
    physical_consent_url varchar(200),
    current              timestamp(6) default (('now'::text)::timestamp without time zone)::timestamp(0) without time zone not null
);

comment on table log_patient_consent is 'Almacena los consentimientos informados antiguos';

alter table log_patient_consent
    owner to postgres;
