Skip to content

Commit

Permalink
Fix jackpot amount
Browse files Browse the repository at this point in the history
  • Loading branch information
Volodymyr-Kuchinskyi committed Jun 13, 2024
1 parent 131f00b commit 0a009e5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/src/migration/1713372155154-CreateRoundsView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ export class CreateRoundsView1713372155154 implements MigrationInterface {
select
p.round_id,
w.plays_num,
p.jackpot_amount,
case
when w.is_finished then p.prize_amount
else p.jackpot_amount
end,
w.is_finished,
p.player_account_hash as winner_account_hash,
p.deploy_hash as last_play_deploy_hash,
Expand Down

0 comments on commit 0a009e5

Please sign in to comment.