--- /dev/null
+class AddAuthorIndexToNoteComments < ActiveRecord::Migration[6.1]
+ disable_ddl_transaction!
+
+ def change
+ add_index :note_comments, [:author_id, :created_at], :algorithm => :concurrently
+ end
+end
CREATE INDEX index_issues_on_updated_by ON public.issues USING btree (updated_by);
+--
+-- Name: index_note_comments_on_author_id_and_created_at; Type: INDEX; Schema: public; Owner: -
+--
+
+CREATE INDEX index_note_comments_on_author_id_and_created_at ON public.note_comments USING btree (author_id, created_at);
+
+
--
-- Name: index_note_comments_on_body; Type: INDEX; Schema: public; Owner: -
--
('20210510083027'),
('20210510083028'),
('20210511104518'),
+('20220201183346'),
('21'),
('22'),
('23'),