mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-18 20:59:39 +02:00
Benchmarking setup (#2366)
* Benchmarking setup * Get demo data working in benchmark scenario * Finalize default demo scenario * Finalize benchmarking setup
This commit is contained in:
parent
cdad31812a
commit
84b2426e54
23 changed files with 1477 additions and 2166 deletions
2
db/schema.rb
generated
2
db/schema.rb
generated
|
@ -30,7 +30,7 @@ ActiveRecord::Schema[7.2].define(version: 2025_06_10_181219) do
|
|||
t.decimal "balance", precision: 19, scale: 4
|
||||
t.string "currency"
|
||||
t.boolean "is_active", default: true, null: false
|
||||
t.virtual "classification", type: :string, as: "\nCASE\n WHEN ((accountable_type)::text = ANY ((ARRAY['Loan'::character varying, 'CreditCard'::character varying, 'OtherLiability'::character varying])::text[])) THEN 'liability'::text\n ELSE 'asset'::text\nEND", stored: true
|
||||
t.virtual "classification", type: :string, as: "\nCASE\n WHEN ((accountable_type)::text = ANY (ARRAY[('Loan'::character varying)::text, ('CreditCard'::character varying)::text, ('OtherLiability'::character varying)::text])) THEN 'liability'::text\n ELSE 'asset'::text\nEND", stored: true
|
||||
t.uuid "import_id"
|
||||
t.uuid "plaid_account_id"
|
||||
t.boolean "scheduled_for_deletion", default: false
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# development, test). The code here should be idempotent so that it can be executed at any point in every environment.
|
||||
# The data can then be loaded with the bin/rails db:seed command (or created alongside the database with db:setup).
|
||||
|
||||
puts 'Run the following command to create demo data: `rake demo_data:reset`' if Rails.env.development?
|
||||
puts 'Run the following command to create demo data: `rake demo_data:default`' if Rails.env.development?
|
||||
|
||||
Dir[Rails.root.join('db', 'seeds', '*.rb')].sort.each do |file|
|
||||
puts "Loading seed file: #{File.basename(file)}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue