add index on submission events

This commit is contained in:
Pete Matsyburka
2024-02-28 09:49:59 +02:00
parent ee37710e57
commit e1ea42a997
3 changed files with 10 additions and 1 deletions
@@ -0,0 +1,7 @@
# frozen_string_literal: true
class AddIndexOnSubmissionEvents < ActiveRecord::Migration[7.1]
def change
add_index :submission_events, :created_at
end
end