1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-02 20:15:22 +02:00

Updated domain to maybefinance.com

This commit is contained in:
Josh Pigford 2024-12-03 11:09:57 -06:00
parent c456950de8
commit 565103caf3
7 changed files with 47 additions and 6 deletions

41
db/schema.rb generated
View file

@ -174,6 +174,15 @@ ActiveRecord::Schema[7.2].define(version: 2024_11_26_211249) do
t.index ["family_id"], name: "index_categories_on_family_id"
end
create_table "chats", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
t.uuid "user_id", null: false
t.string "title"
t.text "summary"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["user_id"], name: "index_chats_on_user_id"
end
create_table "credit_cards", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
@ -452,6 +461,33 @@ ActiveRecord::Schema[7.2].define(version: 2024_11_26_211249) do
t.index ["family_id"], name: "index_merchants_on_family_id"
end
create_table "messages", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
t.uuid "chat_id", null: false
t.uuid "user_id"
t.text "content"
t.text "log"
t.string "role"
t.string "status", default: "pending"
t.boolean "hidden", default: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["chat_id"], name: "index_messages_on_chat_id"
t.index ["user_id"], name: "index_messages_on_user_id"
end
create_table "metrics", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
t.uuid "family_id", null: false
t.uuid "account_id"
t.string "kind", null: false
t.string "subkind"
t.date "date", null: false
t.decimal "value", precision: 10, scale: 2, null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["account_id"], name: "index_metrics_on_account_id"
t.index ["family_id"], name: "index_metrics_on_family_id"
end
create_table "other_assets", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
@ -639,6 +675,7 @@ ActiveRecord::Schema[7.2].define(version: 2024_11_26_211249) 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 "categories", "families"
add_foreign_key "chats", "users"
add_foreign_key "impersonation_session_logs", "impersonation_sessions"
add_foreign_key "impersonation_sessions", "users", column: "impersonated_id"
add_foreign_key "impersonation_sessions", "users", column: "impersonator_id"
@ -647,6 +684,10 @@ ActiveRecord::Schema[7.2].define(version: 2024_11_26_211249) do
add_foreign_key "invitations", "families"
add_foreign_key "invitations", "users", column: "inviter_id"
add_foreign_key "merchants", "families"
add_foreign_key "messages", "chats"
add_foreign_key "messages", "users"
add_foreign_key "metrics", "accounts"
add_foreign_key "metrics", "families"
add_foreign_key "plaid_accounts", "plaid_items"
add_foreign_key "plaid_items", "families"
add_foreign_key "security_prices", "securities"