class AddMissingIndices < ActiveRecord::Migration[8.0] def change add_index :activities, :started_at add_index :activities, :platform end end