-
Notifications
You must be signed in to change notification settings - Fork 415
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
fix: environment webhooks shows current date, not created date #2555
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Uffizzi Preview |
Handle nulls in FE
operations = [ | ||
migrations.AddField( | ||
model_name='organisationwebhook', | ||
name='created_at', | ||
field=models.DateTimeField(auto_now_add=True, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='organisationwebhook', | ||
name='updated_at', | ||
field=models.DateTimeField(auto_now=True, null=True), | ||
), |
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.
Have you verified (perhaps just with python manage.py sqlmigrate organisations 0043
) that it doesn't update existing webhooks?
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2555 +/- ##
=======================================
Coverage 95.43% 95.44%
=======================================
Files 972 975 +3
Lines 27190 27221 +31
=======================================
+ Hits 25950 25981 +31
Misses 1240 1240
☔ View full report in Codecov by Sentry. |
Need to modify migrations to not set current datetime on application |
Changes
Fixes #2554
How did you test this code?
Ran locally. Created a webhook, edited the created date. Verified that it showed the correct date.