Add epp_sessions.user_id

#700
This commit is contained in:
Artur Beljajev 2018-02-07 02:01:23 +02:00
parent 82c74a4811
commit ba341ee411
2 changed files with 17 additions and 1 deletions

View file

@ -1054,7 +1054,8 @@ CREATE TABLE epp_sessions (
data text,
created_at timestamp without time zone,
updated_at timestamp without time zone,
registrar_id integer
registrar_id integer,
user_id integer
);
@ -4484,6 +4485,14 @@ ALTER TABLE ONLY domain_transfers
ADD CONSTRAINT fk_rails_87b8e40c63 FOREIGN KEY (domain_id) REFERENCES domains(id);
--
-- Name: fk_rails_adff2dc8e3; Type: FK CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY epp_sessions
ADD CONSTRAINT fk_rails_adff2dc8e3 FOREIGN KEY (user_id) REFERENCES users(id);
--
-- Name: fk_rails_b80dbb973d; Type: FK CONSTRAINT; Schema: public; Owner: -
--
@ -5072,3 +5081,5 @@ INSERT INTO schema_migrations (version) VALUES ('20180126104903');
INSERT INTO schema_migrations (version) VALUES ('20180206213435');
INSERT INTO schema_migrations (version) VALUES ('20180206234620');