Initial commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# encoding: UTF-8
|
||||
# frozen_string_literal: true
|
||||
|
||||
class MigrateAllBankModelsToFiat < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
execute %[ UPDATE deposits SET type = 'Deposits::Fiat' WHERE type = 'Deposits::Bank' ]
|
||||
execute %[ UPDATE withdraws SET type = 'Withdraws::Fiat' WHERE type = 'Withdraws::Bank' ]
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user