1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 23:59:40 +02:00

feat: add crypto account type to demo data (#555)

* feat: add crypto account type to demo data

* fix: set currency to BTC, revert schema migration change and fix tests

* fix: update dates in time_series tests
This commit is contained in:
Juan B. Rodriguez 2024-03-19 14:34:35 -05:00 committed by GitHub
parent f904d9d062
commit 49d1fe0e11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 55 additions and 4 deletions

7
db/schema.rb generated
View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.2].define(version: 2024_03_09_180636) do
ActiveRecord::Schema[7.2].define(version: 2024_03_19_154732) do
# These are extensions that must be enabled in order to support this database
enable_extension "pgcrypto"
enable_extension "plpgsql"
@ -35,6 +35,11 @@ ActiveRecord::Schema[7.2].define(version: 2024_03_09_180636) do
t.datetime "updated_at", null: false
end
create_table "account_cryptos", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
create_table "account_depositories", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
t.datetime "created_at", null: false
t.datetime "updated_at", null: false