mirror of https://github.com/zulip/zulip.git
migrations: Fix quoting bug in tutorial_status migration.
Fixes #31381.
This commit is contained in:
parent
00c9f36434
commit
a3806b4165
|
@ -30,7 +30,7 @@ def mark_narrow_to_dm_with_welcome_bot_new_user_as_read(
|
||||||
FROM zerver_userprofile
|
FROM zerver_userprofile
|
||||||
WHERE is_bot = False
|
WHERE is_bot = False
|
||||||
AND is_mirror_dummy = 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;
|
AND id > %(lower_id_bound)s AND id <= %(upper_id_bound)s;
|
||||||
""")
|
""")
|
||||||
cursor.execute(
|
cursor.execute(
|
||||||
|
|
Loading…
Reference in New Issue