Recreate database schema
This commit is contained in:
parent
6e9486f99f
commit
2532834418
1 changed files with 8 additions and 12 deletions
|
@ -991,14 +991,6 @@ ALTER TABLE ONLY public.relationships
|
||||||
ADD CONSTRAINT fk_rails_100235139c FOREIGN KEY (regional_office_id) REFERENCES public.regional_offices(id);
|
ADD CONSTRAINT fk_rails_100235139c FOREIGN KEY (regional_office_id) REFERENCES public.regional_offices(id);
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Name: account_roles fk_rails_3369e0d5fc; Type: FK CONSTRAINT; Schema: public; Owner: -
|
|
||||||
--
|
|
||||||
|
|
||||||
ALTER TABLE ONLY public.account_roles
|
|
||||||
ADD CONSTRAINT fk_rails_3369e0d5fc FOREIGN KEY (role_id) REFERENCES public.roles(id);
|
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: passports fk_rails_5cdfa39dea; Type: FK CONSTRAINT; Schema: public; Owner: -
|
-- Name: passports fk_rails_5cdfa39dea; Type: FK CONSTRAINT; Schema: public; Owner: -
|
||||||
--
|
--
|
||||||
|
@ -1087,6 +1079,14 @@ ALTER TABLE ONLY public.relationships
|
||||||
ADD CONSTRAINT fk_rails_d60748ff4c FOREIGN KEY (person_id) REFERENCES public.people(id);
|
ADD CONSTRAINT fk_rails_d60748ff4c FOREIGN KEY (person_id) REFERENCES public.people(id);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Name: account_roles fk_rails_f48937287f; Type: FK CONSTRAINT; Schema: public; Owner: -
|
||||||
|
--
|
||||||
|
|
||||||
|
ALTER TABLE ONLY public.account_roles
|
||||||
|
ADD CONSTRAINT fk_rails_f48937287f FOREIGN KEY (role_id) REFERENCES public.roles(id);
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- PostgreSQL database dump complete
|
-- PostgreSQL database dump complete
|
||||||
--
|
--
|
||||||
|
@ -1095,12 +1095,8 @@ SET search_path TO "$user", public;
|
||||||
|
|
||||||
INSERT INTO "schema_migrations" (version) VALUES
|
INSERT INTO "schema_migrations" (version) VALUES
|
||||||
('20181129203927'),
|
('20181129203927'),
|
||||||
('20181129231814'),
|
|
||||||
('20181130024918'),
|
('20181130024918'),
|
||||||
('20181130161628'),
|
('20181130161628'),
|
||||||
('20181130163121'),
|
|
||||||
('20181202020031'),
|
|
||||||
('20181202021854'),
|
|
||||||
('20181202022901'),
|
('20181202022901'),
|
||||||
('20181204024403'),
|
('20181204024403'),
|
||||||
('20181204030126'),
|
('20181204030126'),
|
||||||
|
|
Reference in a new issue