class AddIdAtClientToTransactions < ActiveRecord::Migration[5.0]
def change
add_column :transactions, :id_at_client, :int
add_index :transactions, [:issuer_id, :id_at_client]
end