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
|
||||
SET username = :username
|
||||
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
|
||||
""")
|
||||
|
||||
Reference in New Issue
Block a user