When I add the add_index method to my db/migrate/*.rb I get an sql error:
ActiveRecord::StatementInvalid:
IBMCLI DriverDB2 SQL0551N "user" does n
ot have the privilege to perform operation " " on object "user.WORKSTMTS". SQ
SQLCODE=-551: CREATE INDEX index_workstmts_on_sow_id ON workstmts (sow_id)
Of course since I just created the table I am the owner and thus do have access to create the index. Just an odd error fyi.