Initial commit
This commit is contained in:
8
db/migrate/20180524170927_improve_indexes.rb
Normal file
8
db/migrate/20180524170927_improve_indexes.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
class ImproveIndexes < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
remove_index :trades, column: [:market_id]
|
||||
remove_index :accounts, column: [:currency_id]
|
||||
add_index :currencies, [:enabled, :code]
|
||||
remove_index :currencies, column: [:enabled]
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user