migrations: Fix quoting bug in tutorial_status migration.

Fixes #31381.
This commit is contained in:
Tim Abbott 2024-08-17 22:16:16 -07:00
parent 00c9f36434
commit a3806b4165
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ def mark_narrow_to_dm_with_welcome_bot_new_user_as_read(
FROM zerver_userprofile
WHERE is_bot = False
AND is_mirror_dummy = False
AND tutorial_status != "W"
AND tutorial_status != 'W'
AND id > %(lower_id_bound)s AND id <= %(upper_id_bound)s;
""")
cursor.execute(