add index on artist group_name
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
class AddIndexToArtistGroupName < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_index :artists, :group_name
|
||||||
|
end
|
||||||
|
end
|
||||||
@@ -4865,6 +4865,13 @@ CREATE INDEX index_artist_versions_on_name ON artist_versions USING btree (name)
|
|||||||
CREATE INDEX index_artist_versions_on_updater_id ON artist_versions USING btree (updater_id);
|
CREATE INDEX index_artist_versions_on_updater_id ON artist_versions USING btree (updater_id);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Name: index_artists_on_group_name; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE INDEX index_artists_on_group_name ON artists USING btree (group_name);
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: index_artists_on_group_name_trgm; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
-- Name: index_artists_on_group_name_trgm; Type: INDEX; Schema: public; Owner: -; Tablespace:
|
||||||
--
|
--
|
||||||
@@ -7304,3 +7311,5 @@ INSERT INTO schema_migrations (version) VALUES ('20160219004022');
|
|||||||
|
|
||||||
INSERT INTO schema_migrations (version) VALUES ('20160219010854');
|
INSERT INTO schema_migrations (version) VALUES ('20160219010854');
|
||||||
|
|
||||||
|
INSERT INTO schema_migrations (version) VALUES ('20160219172840');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user