-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add missing migration for webhooks #5078
Conversation
Added migration quite similar with this migration. And the reason why the lists of available values differ is because of the version of Python being used. Because for different python version So I think we should make And for now I see only one way to do it: hardcode all possible status codes. @zhiltsov-max what do you think about it? |
I think we can just store an integer without extra restrictions. |
/check |
❌ Some checks failed |
/check |
❌ Some checks failed |
Motivation and context
It seems that a migration was done in #4863 , but it was not added to the repository. This PR adds the missing migration, which is generated by
python manage.py makemigrations
.status_code
field typeHow has this been tested?
Checklist
develop
branchcvat-core, cvat-data and cvat-ui)
License
Feel free to contact the maintainers if that's a concern.