-
Notifications
You must be signed in to change notification settings - Fork 14
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
Change to ArrayField for TimeRecurrence.days from MultiSelectField #711
Change to ArrayField for TimeRecurrence.days from MultiSelectField #711
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #711 +/- ##
==========================================
+ Coverage 79.40% 79.44% +0.04%
==========================================
Files 73 73
Lines 3539 3546 +7
==========================================
+ Hits 2810 2817 +7
Misses 729 729 ☔ View full report in Codecov by Sentry. |
src/argus/notificationprofile/migrations/0014_timerecurrence_days_array.py
Outdated
Show resolved
Hide resolved
src/argus/notificationprofile/migrations/0015_remove_days_alter_days_array.py
Show resolved
Hide resolved
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.
I will do a manual test, then approve.
You're still importing MultiSelectField in |
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.
Manual test passed but see comment.
I'm still surprised you went with an ArrayField and not a lookup table. (I do have SQL brain though.)
I can still change that if you think a lookup table is the better solution? |
All good! |
a429113
to
e816de6
Compare
|
First part for solving #707.
This was easier than expected, which makes me suspicious...But tested against current frontend and all looks good.