add index

This commit is contained in:
Pete Matsyburka committed 2026-11-01 12:38:59 +02:00
1 parent 9bfa6f7f4a
commit 7ee648dacb
3 files changed
+11 -2

No files matched your search

@@ -0,0 +1,7 @@
# frozen_string_literal: true
class AddAccountsCreatedAtIndex < ActiveRecord::Migration[8.1]
def change
add_index :accounts, :created_at, if_not_exists: true
end
end