add submission created_at index

This commit is contained in:
Pete Matsyburka
2026-07-07 09:14:15 +03:00
parent 56da326709
commit e1d860a42c
3 changed files with 10 additions and 1 deletions
@@ -0,0 +1,7 @@
# frozen_string_literal: true
class AddSubmissionCreatedAtIndex < ActiveRecord::Migration[8.1]
def change
add_index :submissions, :created_at, if_not_exists: true
end
end