add fiat balance
This commit is contained in:
11
db/migrate/20210812011039_create_fiat_balances.rb
Normal file
11
db/migrate/20210812011039_create_fiat_balances.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
# frozen_string_literal: true
|
||||
class CreateFiatBalances < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
create_table(:fiat_balances) do |t|
|
||||
t.references(:user, null: false, foreign_key: true)
|
||||
t.monetize(:amount)
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user