ERROR: relation "codepool_codepoolseq_seq" does not exist SQL state: 42P01
In your Scheme you must have Sequences called codepool_codepoolseq_seq

Example create:


-- SEQUENCE: public.codepool_codepoolseq_seq

-- DROP SEQUENCE public.codepool_codepoolseq_seq;

CREATE SEQUENCE public.codepool_codepoolseq_seq
    INCREMENT 1
    START 1
    MINVALUE 1
    MAXVALUE 9223372036854775807
    CACHE 1;

ALTER SEQUENCE public.codepool_codepoolseq_seq
    OWNER TO postgres;