Initial commit
This commit is contained in:
8
db/migrate/20210504102945_add_kind_to_withdraw_limits.rb
Normal file
8
db/migrate/20210504102945_add_kind_to_withdraw_limits.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
class AddKindToWithdrawLimits < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
remove_index :withdraw_limits, name: 'index_withdraw_limits_on_group_and_kyc_level'
|
||||
|
||||
add_column :withdraw_limits, :kind, :integer, default: 0
|
||||
add_index :withdraw_limits, %i[group kyc_level kind], unique: true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user