--- /dev/null
+class AddAuthorIndexToChangesetComments < ActiveRecord::Migration[6.0]
+ disable_ddl_transaction!
+
+ def change
+ add_index :changeset_comments, [:author_id, :created_at], :algorithm => :concurrently
+ end
+end
CREATE UNIQUE INDEX index_active_storage_blobs_on_key ON public.active_storage_blobs USING btree (key);
+--
+-- Name: index_changeset_comments_on_author_id_and_created_at; Type: INDEX; Schema: public; Owner: -
+--
+
+CREATE INDEX index_changeset_comments_on_author_id_and_created_at ON public.changeset_comments USING btree (author_id, created_at);
+
+
--
-- Name: index_changeset_comments_on_created_at; Type: INDEX; Schema: public; Owner: -
--
('20190702193519'),
('20190716173946'),
('20191120140058'),
+('20201006213836'),
('21'),
('22'),
('23'),