mirror of
https://github.com/internetee/registry.git
synced 2025-06-30 00:03:33 +02:00
Rename DomainTransfer#transfer_from
to old_registrar
This commit is contained in:
parent
404932316d
commit
d99a63d476
8 changed files with 18 additions and 11 deletions
|
@ -958,7 +958,7 @@ CREATE TABLE domain_transfers (
|
|||
status character varying,
|
||||
transfer_requested_at timestamp without time zone,
|
||||
transferred_at timestamp without time zone,
|
||||
transfer_from_id integer,
|
||||
old_registrar_id integer,
|
||||
transfer_to_id integer,
|
||||
created_at timestamp without time zone,
|
||||
updated_at timestamp without time zone,
|
||||
|
@ -4441,7 +4441,7 @@ ALTER TABLE ONLY domains
|
|||
--
|
||||
|
||||
ALTER TABLE ONLY domain_transfers
|
||||
ADD CONSTRAINT fk_rails_59c422f73d FOREIGN KEY (transfer_from_id) REFERENCES registrars(id);
|
||||
ADD CONSTRAINT fk_rails_59c422f73d FOREIGN KEY (old_registrar_id) REFERENCES registrars(id);
|
||||
|
||||
|
||||
--
|
||||
|
@ -5062,3 +5062,5 @@ INSERT INTO schema_migrations (version) VALUES ('20180123124342');
|
|||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180123154407');
|
||||
|
||||
INSERT INTO schema_migrations (version) VALUES ('20180123165604');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue