-- Table: public.recorder

-- DROP TABLE public.recorder;

CREATE TABLE public.recorder
(
  id uuid NOT NULL DEFAULT uuid_generate_v4(),
  user_id integer NOT NULL,
  url character varying(100),
  current timestamp(6) without time zone DEFAULT (('now'::text)::timestamp without time zone)::timestamp(0) without time zone,
  id_room_appointment_study_receipt uuid,
  recording_id uuid,
  record bytea,
  save boolean DEFAULT FALSE,
  CONSTRAINT id_pkey PRIMARY KEY (id)
)
WITH (
  OIDS=FALSE
);
ALTER TABLE public.recorder
  OWNER TO postgres;
COMMENT ON TABLE public.recorder
  IS 'Tabla para guardar las grabaciones de la grabadora html5.';
