remove crypto balance from backend
This commit is contained in:
11
db/schema.rb
generated
11
db/schema.rb
generated
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2021_09_06_021610) do
|
||||
ActiveRecord::Schema.define(version: 2021_09_13_231405) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pgcrypto"
|
||||
@@ -56,14 +56,6 @@ ActiveRecord::Schema.define(version: 2021_09_06_021610) do
|
||||
t.index ["reset_password_token"], name: "index_admin_users_on_reset_password_token", unique: true
|
||||
end
|
||||
|
||||
create_table "balances", force: :cascade do |t|
|
||||
t.bigint "user_id", null: false
|
||||
t.decimal "amount", precision: 20, scale: 10, default: "0.0", null: false
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.index ["user_id"], name: "index_balances_on_user_id"
|
||||
end
|
||||
|
||||
create_table "buy_crypto_orders", force: :cascade do |t|
|
||||
t.bigint "user_id", null: false
|
||||
t.string "status", null: false
|
||||
@@ -149,7 +141,6 @@ ActiveRecord::Schema.define(version: 2021_09_06_021610) do
|
||||
|
||||
add_foreign_key "active_storage_attachments", "active_storage_blobs", column: "blob_id"
|
||||
add_foreign_key "active_storage_variant_records", "active_storage_blobs", column: "blob_id"
|
||||
add_foreign_key "balances", "users"
|
||||
add_foreign_key "buy_crypto_orders", "users"
|
||||
add_foreign_key "deposit_orders", "users"
|
||||
add_foreign_key "fiat_balances", "users"
|
||||
|
||||
Reference in New Issue
Block a user