Remove duplicate index

This commit is contained in:
Artur Beljajev 2019-10-04 14:03:25 +03:00
parent ba33f5740e
commit c4dd204bb1
2 changed files with 212 additions and 211 deletions

View file

@ -0,0 +1,5 @@
class RemoveBlockedDomainsNameIndex < ActiveRecord::Migration
def change
remove_index :blocked_domains, name: 'index_blocked_domains_on_name'
end
end

View file

@ -3320,13 +3320,6 @@ CREATE INDEX index_account_activities_on_invoice_id ON public.account_activities
CREATE INDEX index_accounts_on_registrar_id ON public.accounts USING btree (registrar_id); CREATE INDEX index_accounts_on_registrar_id ON public.accounts USING btree (registrar_id);
--
-- Name: index_blocked_domains_on_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
--
CREATE INDEX index_blocked_domains_on_name ON public.blocked_domains USING btree (name);
-- --
-- Name: index_certificates_on_api_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace: -- Name: index_certificates_on_api_user_id; Type: INDEX; Schema: public; Owner: -; Tablespace:
-- --
@ -4875,6 +4868,8 @@ INSERT INTO schema_migrations (version) VALUES ('20191004105643');
INSERT INTO schema_migrations (version) VALUES ('20191004105732'); INSERT INTO schema_migrations (version) VALUES ('20191004105732');
INSERT INTO schema_migrations (version) VALUES ('20191004110234');
INSERT INTO schema_migrations (version) VALUES ('20191004154844'); INSERT INTO schema_migrations (version) VALUES ('20191004154844');
INSERT INTO schema_migrations (version) VALUES ('20191005162437'); INSERT INTO schema_migrations (version) VALUES ('20191005162437');
@ -4882,3 +4877,4 @@ INSERT INTO schema_migrations (version) VALUES ('20191005162437');
INSERT INTO schema_migrations (version) VALUES ('20191007123000'); INSERT INTO schema_migrations (version) VALUES ('20191007123000');
INSERT INTO schema_migrations (version) VALUES ('20191008024334'); INSERT INTO schema_migrations (version) VALUES ('20191008024334');