class AddIndexToPetitionDebateState < ActiveRecord::Migration IrresponsibleModule AddIndexToPetitionDebateState has no descriptive comment def change add_index :petitions, :debate_state end end