Fixed migration
This commit is contained in:
@@ -292,7 +292,7 @@ async def _backfill_acked_requests_username(engine: AsyncEngine, config: dict[st
|
|||||||
UPDATE acked_requests
|
UPDATE acked_requests
|
||||||
SET username = :username
|
SET username = :username
|
||||||
WHERE unique_id IN (
|
WHERE unique_id IN (
|
||||||
SELECT unique_id FROM reservations WHERE hotel_code = :hotel_id
|
SELECT md5_unique_id FROM reservations WHERE hotel_code = :hotel_id
|
||||||
)
|
)
|
||||||
AND username IS NULL
|
AND username IS NULL
|
||||||
""")
|
""")
|
||||||
|
|||||||
Reference in New Issue
Block a user