 --
 
 CREATE SEQUENCE holidays_id_seq
-    START WITH 1
     INCREMENT BY 1
     NO MAXVALUE
     NO MINVALUE

    id integer NOT NULL,
    public_body_id integer,
    locale character varying(255),
    short_name text,
    request_email text,
    notes text,
    publication_scheme text,
    url_name text,
    first_letter character varying(255),
    name text,
    created_at timestamp without time zone,
    updated_at timestamp without time zone



--
-- Name: fk_censor_rules_info_request; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY censor_rules
    ADD CONSTRAINT fk_censor_rules_info_request FOREIGN KEY (info_request_id) REFERENCES info_requests(id);


--
-- Name: fk_censor_rules_public_body; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY censor_rules
    ADD CONSTRAINT fk_censor_rules_public_body FOREIGN KEY (public_body_id) REFERENCES public_bodies(id);


--
-- Name: fk_censor_rules_user; Type: FK CONSTRAINT; Schema: public; Owner: -
--

ALTER TABLE ONLY censor_rules
    ADD CONSTRAINT fk_censor_rules_user FOREIGN KEY (user_id) REFERENCES users(id);


--
-- Name: fk_comments_info_request; Type: FK CONSTRAINT; Schema: public; Owner: -
--

