Skip to content

Commit

Permalink
Assume the users who have previously activated 'other' events wanted …
Browse files Browse the repository at this point in the history
…'pause' evnets
  • Loading branch information
kennethjiang committed Jan 13, 2024
1 parent 98ca2e5 commit 7907db5
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@ class Migration(migrations.Migration):
name='notify_on_print_start',
field=models.BooleanField(blank=True, default=False),
),
migrations.RunSQL(
"UPDATE app_notificationsetting SET notify_on_print_pause = TRUE WHERE notify_on_other_print_events = TRUE;",
"UPDATE app_notificationsetting SET notify_on_print_pause = FALSE WHERE notify_on_other_print_events = FALSE;"
),
]

0 comments on commit 7907db5

Please sign in to comment.