feat(reviewer): add daily lb rank multipliers#531
Merged
Conversation
db/schema.rb
Outdated
| t.integer "adjusted_amount" | ||
| t.bigint "admin_id" | ||
| t.integer "amount", null: false | ||
| t.integer "amount" |
Collaborator
yo this is the blocker for me. schema.rb makes amount nullable here and drops the user_id_pending unique index right below, but the only migration in this PR is the stardust float one. that unique index is the whole thing stopping a user from opening 2 pending payouts at once. either ur missing a migration or schema.rb got regenerated off another branch. cant merge til this is reconciled
Contributor
Author
Yeah, my bad. Thanks for pointing it out, it’s been fixed now :)
…per, fix hours_at_ship typo
…dex on reviewer_payout_requests These were lost during the merge auto-resolution. The partial unique index (WHERE aasm_state = 'pending') is the DB-level guard that prevents a user from opening two pending payout requests simultaneously.sly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
what's this do?
Reviewers now earn bonus stardust based on their daily leaderboard rank :)
show it works
ai?
Claude