# frozen_string_literal: true class AddIndexToPaymentsCreatedAt < ActiveRecord::Migration def change add_index :payments, :created_at end end