Skip to content

Commit df1446e

Browse files
committed
fixup! Add index to submissions
1 parent 5ccc9fd commit df1446e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class AddIndexOnCreatedAtAndFormIdAndModeToSubmissions < ActiveRecord::Migration[8.1]
2+
def change
3+
add_index :submissions, %i[created_at form_id mode]
4+
end
5+
end

db/migrate/20260218110428_add_index_on_form_id_and_created_at_and_mode_to_submissions.rb

Lines changed: 0 additions & 5 deletions
This file was deleted.

db/schema.rb

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)