Skip to content

Commit

Permalink
missed table name
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Gorzala committed Mar 30, 2024
1 parent 3755d1a commit fe30bd8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ public interface ScheduledInfoMailCheckJpaRepository extends JpaRepository<Sched

@Query(
value = """
UPDATE
UPDATE scheduled_at
SET status = 'IN_PROGRESS'
WHERE id IN (
SELECT id
FROM scheduled_at
WHERE status = 'NEW'
LIMIT 1
FOR UPDATE
FOR UPDATE
)
RETURNING *;
""",
Expand Down

0 comments on commit fe30bd8

Please sign in to comment.