Files
Dena/db/migrate/20181120113445_add_daily_withdraw_limit_to_currencies.rb
2026-08-13 19:50:53 +03:30

7 lines
307 B
Ruby

class AddDailyWithdrawLimitToCurrencies < ActiveRecord::Migration[4.2]
def change
rename_column :currencies, :quick_withdraw_limit, :withdraw_limit_24h
add_column :currencies, :withdraw_limit_72h, :decimal, precision: 32, scale: 16, default: 0.0, null: false, after: :withdraw_limit_24h
end
end