Initial commit
This commit is contained in:
49
app/models/withdraws/fiat.rb
Normal file
49
app/models/withdraws/fiat.rb
Normal file
@@ -0,0 +1,49 @@
|
||||
# encoding: UTF-8
|
||||
# frozen_string_literal: true
|
||||
|
||||
# Deprecated
|
||||
# TODO: Delete this class and update type column
|
||||
module Withdraws
|
||||
class Fiat < Withdraw
|
||||
def initialize(*)
|
||||
super
|
||||
#verify_limits
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
# Schema version: 20210201100941
|
||||
#
|
||||
# Table name: withdraws
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# member_id :integer not null
|
||||
# beneficiary_id :bigint
|
||||
# currency_id :string(10) not null
|
||||
# amount :decimal(32, 16) not null
|
||||
# fee :decimal(32, 16) not null
|
||||
# txid :string(128)
|
||||
# aasm_state :string(30) not null
|
||||
# block_number :integer
|
||||
# sum :decimal(32, 16) not null
|
||||
# type :string(30) not null
|
||||
# transfer_type :integer
|
||||
# tid :string(64) not null
|
||||
# rid :string(256) not null
|
||||
# note :string(256)
|
||||
# metadata :json
|
||||
# error :json
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# completed_at :datetime
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_withdraws_on_aasm_state (aasm_state)
|
||||
# index_withdraws_on_currency_id (currency_id)
|
||||
# index_withdraws_on_currency_id_and_txid (currency_id,txid) UNIQUE
|
||||
# index_withdraws_on_member_id (member_id)
|
||||
# index_withdraws_on_tid (tid)
|
||||
# index_withdraws_on_type (type)
|
||||
#
|
||||
Reference in New Issue
Block a user