-- Sequence: public.work_lists_id_seq

-- DROP SEQUENCE public.work_lists_id_seq;

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


-- Table: public.work_lists

-- DROP TABLE public.work_lists;

CREATE TABLE public.work_lists
(
  id integer NOT NULL DEFAULT nextval('work_lists_id_seq'::regclass),
  user_id integer NOT NULL,
  name_work_list character varying(20) NOT NULL,
  config json,
  current timestamp without time zone NOT NULL,
  CONSTRAINT work_lists_pkey PRIMARY KEY (id)
)
WITH (
  OIDS=FALSE
);
ALTER TABLE public.work_lists
  OWNER TO postgres;
COMMENT ON TABLE public.work_lists
  IS 'Tabla para guardar la configuración de los listados de trabajo.';