Create an up/down migration for this index SQL create index trees_planter_id_active_idx ON trees (planter_id, active);