tab/db/migrate/20150914095049_add_id_at_client_to_transactions.rb

7 lines
195 B
Ruby
Raw Normal View History

2018-06-20 18:02:33 +02:00
class AddIdAtClientToTransactions < ActiveRecord::Migration[5.0]
def change
add_column :transactions, :id_at_client, :int
add_index :transactions, [:issuer_id, :id_at_client]
end
end