-
Notifications
You must be signed in to change notification settings - Fork 308
Conversation
12dfb39
to
a887ba2
Compare
Fixed a bug and improved the tests. |
Added a test and a fix for the computation of actual team takes that is used in the |
e1ad9eb
to
6a6d169
Compare
Rebased on master. |
FROM tips | ||
ORDER BY tipper, tippee, mtime DESC; | ||
|
||
-- Allow updating is_funding via the current_tips view for convenience |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/is_funding/is_funded
6a6d169
to
a06884b
Compare
Okay, so after a first pass through, it looks like basically what we're doing here is pushing |
fb5abef
to
6d5ab04
Compare
Ready for final review. |
What if we had |
I don't see how that would solve anything, nor why we're still talking about this. |
@Changaco It would solve the problem of having information with an undefined meaning in our database. We're still talking about this because having undefined information in our database does not seem good to me. |
I'm also not settled on using a fake payday during the real payday. |
If we relaxed the null constraint and maintained true/false only on the most recent tip, with the rest being null, I'd be satisfied with that. |
I mean, that seems like a potential source of bugs to me. I guess we could add a self-check for that. |
|
We don't use it and its definition is obsolete.
Tips are processed before takes, the team giving needs to be deducted from the takes budget.
6d5ab04
to
1a0c48e
Compare
Rebased on master. |
Fix giving and receiving amounts
Fixes #1127, and a few other bugs (including the 4th item of #2630).