-
Notifications
You must be signed in to change notification settings - Fork 69
don't allow transfers of 0 hours and 0 minutes #421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@sauloperez @enricostano Could you please review this? |
577c109
to
af36b95
Compare
Hi @sseerrggii I think the missing part here is the pending decision here: #421 (comment). Basically, the point is: when adding the DB constraint the existing wrong records fail due to this new restriction, what to do with those records? @sauloperez suggested to a create a data migration, but I'm not sure what to do 😅: delete the records, add 1 min movements, ... PS |
We can delete the records with 0 hours and 0 minutes |
08711f0
to
f7e47d5
Compare
Pushed migration with (f7e47d5):
|
f7e47d5
to
758f3db
Compare
Pushed i18n here 758f3db and rebased from develop. |
@sauloperez would you mind to finish your review here? 😘 |
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.
Looks good 👍
Deployed to https://staging.timeoverflow.org cc/ @sseerrggii |
Tested! 👌 @markets can you rebase it? I have no courage 😟 |
758f3db
to
c0b22d1
Compare
@sseerrggii rebased with current develop |
c0b22d1
to
50851e9
Compare
Closes #345
I also removed ✂️ a couple of unused methods and added front-end validation: