This commit is contained in:
Martin Lensment 2015-09-15 14:02:26 +03:00
parent c6073c7e87
commit b5afff1c79
4 changed files with 3 additions and 7 deletions

View file

@ -201,7 +201,6 @@ ActiveRecord::Schema.define(version: 20150915094707) do
t.integer "legacy_id" t.integer "legacy_id"
t.string "statuses", array: true t.string "statuses", array: true
t.hstore "status_notes" t.hstore "status_notes"
t.integer "legacy_history_id"
t.integer "copy_from_id" t.integer "copy_from_id"
end end

View file

@ -597,7 +597,6 @@ CREATE TABLE contacts (
legacy_id integer, legacy_id integer,
statuses character varying[], statuses character varying[],
status_notes hstore, status_notes hstore,
legacy_history_id integer,
copy_from_id integer copy_from_id integer
); );
@ -4930,8 +4929,6 @@ INSERT INTO schema_migrations (version) VALUES ('20150810114746');
INSERT INTO schema_migrations (version) VALUES ('20150825125118'); INSERT INTO schema_migrations (version) VALUES ('20150825125118');
INSERT INTO schema_migrations (version) VALUES ('20150827151906');
INSERT INTO schema_migrations (version) VALUES ('20150910113839'); INSERT INTO schema_migrations (version) VALUES ('20150910113839');
INSERT INTO schema_migrations (version) VALUES ('20150915094707'); INSERT INTO schema_migrations (version) VALUES ('20150915094707');

View file

@ -9,7 +9,7 @@ Fabricator(:registrar) do
country_code 'EE' country_code 'EE'
code { sequence(:code) { |i| "REGISTRAR#{i}" } } code { sequence(:code) { |i| "REGISTRAR#{i}" } }
reference_no { sequence(:reference_no) { |i| "RF#{i}" } } reference_no { sequence(:reference_no) { |i| "RF#{i}" } }
white_ips { [Fabricate(:white_ip), Fabricate(:white_ip, interface: WhiteIp::REGISTRAR)] } white_ips { [Fabricate(:white_ip), Fabricate(:white_ip, interfaces: [WhiteIp::REGISTRAR])] }
end end
Fabricator(:registrar_with_no_account_activities, from: :registrar) do Fabricator(:registrar_with_no_account_activities, from: :registrar) do

View file

@ -1,8 +1,8 @@
Fabricator(:white_ip) do Fabricator(:white_ip) do
ipv4 '127.0.0.1' ipv4 '127.0.0.1'
interface WhiteIp::API interfaces [WhiteIp::API]
end end
Fabricator(:white_ip_registrar, from: :white_ip) do Fabricator(:white_ip_registrar, from: :white_ip) do
interface WhiteIp::REGISTRAR interfaces [WhiteIp::REGISTRAR]
end end