feat: implement payout system database schema and models
This commit is contained in:
19
test/fixtures/earnings.yml
vendored
Normal file
19
test/fixtures/earnings.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
event: concert_event
|
||||
user: users(one)
|
||||
order: paid_order
|
||||
amount_cents: 9000 # €90.00
|
||||
fee_cents: 1000 # €10.00
|
||||
status: pending
|
||||
stripe_payout_id:
|
||||
|
||||
two:
|
||||
event: winter_gala
|
||||
user: users(two)
|
||||
order: expired_order
|
||||
amount_cents: 4500 # €45.00
|
||||
fee_cents: 500 # €5.00
|
||||
status: paid
|
||||
stripe_payout_id: payout_123
|
||||
Reference in New Issue
Block a user