Initial commit
This commit is contained in:
9
db/migrate/20180329145257_alter_trades_currency.rb
Normal file
9
db/migrate/20180329145257_alter_trades_currency.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
# encoding: UTF-8
|
||||
# frozen_string_literal: true
|
||||
|
||||
class AlterTradesCurrency < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
change_column :trades, :currency, :string, limit: 10
|
||||
rename_column :trades, :currency, :market_id
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user