tab/db/migrate/20150914095049_add_id_at_client_to_transactions.rb

7 lines
190 B
Ruby
Raw Normal View History

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