-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
🔧 chore(data-secrecy v2): SafeDelete DataSecrecyWaiver #95464
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
DataSecrecyWaiver.objects.create( | ||
organization=org, | ||
access_start=timezone.now(), | ||
access_end=timezone.now() + timedelta(days=1), | ||
) |
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.
Any idea what this was previously used for?
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.
It's just boilerplate stuff that you sometimes need to add when adding a new model
This PR has a migration; here is the generated SQL for for --
-- Moved model DataSecrecyWaiver to pending deletion state
--
-- (no-op) |
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #95464 +/- ##
===========================================
+ Coverage 32.95% 76.30% +43.35%
===========================================
Files 8999 10548 +1549
Lines 503908 607954 +104046
Branches 23825 23825
===========================================
+ Hits 166038 463892 +297854
+ Misses 337574 142167 -195407
- Partials 296 1895 +1599 |
DataSecrecyWaiver.objects.create( | ||
organization=org, | ||
access_start=timezone.now(), | ||
access_end=timezone.now() + timedelta(days=1), | ||
) |
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.
It's just boilerplate stuff that you sometimes need to add when adding a new model
ada5a1f
to
d1bcda9
Compare
This PR has a migration; here is the generated SQL for for --
-- Moved model DataSecrecyWaiver to pending deletion state
--
-- (no-op) |
Followup to #95393
contributes to ECO-824