Initial commit

This commit is contained in:
Yaser
2026-08-13 19:50:53 +03:30
commit 38084458fe
879 changed files with 95198 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
# encoding: UTF-8
# frozen_string_literal: true
class LimitTradingFee < ActiveRecord::Migration[4.2]
def change
execute %{UPDATE markets SET ask_fee = 0.5 WHERE ask_fee > 0.5}
execute %{UPDATE markets SET bid_fee = 0.5 WHERE bid_fee > 0.5}
change_column :markets, :ask_fee, :decimal, null: false, default: 0, precision: 17, scale: 16
change_column :markets, :bid_fee, :decimal, null: false, default: 0, precision: 17, scale: 16
end
end