public.refund
[BASE TABLE]
id
[uuid]
player_id
[uuid]
status
[varchar(255)]
refunded_at
[timestamp(0) with time zone]
stripe_refund_id
[varchar(255)]
total_amount
[bigint]
total_currency
[character(3)]
created_at
[timestamp(0) with time zone]
voucher_id
[uuid]
refunded_amount_voucher_amount
[bigint]
refunded_amount_voucher_currency
[character(3)]
refunded_amount_online_amount
[bigint]
refunded_amount_online_currency
[character(3)]
strategy
[varchar(255)]
event_registration_id
[uuid]
public.match_player
[BASE TABLE]
id
[uuid]
user_id
[uuid]
game_id
[uuid]
slot
[integer]
is_host
[boolean]
terms_of_service_id
[uuid]
joined_match_at
[timestamp(0) with time zone]
confirmed_match_at
[timestamp(0) with time zone]
left_match_at
[timestamp(0) with time zone]
status
[varchar(255)]
discount_id
[uuid]
expected_payment_of_slots
[integer]
FOREIGN KEY (player_id) REFERENCES match_player(id)
public.voucher
[BASE TABLE]
id
[uuid]
code
[varchar(255)]
owner_id
[uuid]
amount_amount
[bigint]
amount_currency
[character(3)]
title
[varchar(255)]
type
[varchar(255)]
percentage
[integer]
created_by_id
[uuid]
expires_at
[timestamp(0) with time zone]
created_at
[timestamp(0) with time zone]
blocked_by_id
[uuid]
blocked_at
[timestamp(0) with time zone]
allowed_redemptions
[integer]
note
[text]
status
[varchar(255)]
kind
[varchar(255)]
max_redemptions_per_user
[integer]
original_kind
[varchar(255)]
FOREIGN KEY (voucher_id) REFERENCES voucher(id)
public.event_registration
[BASE TABLE]
id
[uuid]
event_id
[uuid]
created_at
[timestamp(0) with time zone]
status
[varchar(255)]
team_id
[uuid]
created_by_id
[uuid]
cancelled_by_id
[uuid]
cancelled_at
[timestamp(0) with time zone]
FOREIGN KEY (event_registration_id) REFERENCES event_registration(id)