Skip to content

Commit

Permalink
fixup: fix migration
Browse files Browse the repository at this point in the history
  • Loading branch information
rudiejd committed Jan 21, 2025
1 parent 6441a4c commit 8699976
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule Arrow.Repo.Migrations.DropShuttlesInvalidDirectionDescriptions do
def change do
execute("""
DELETE FROM shuttle_route_stops
WHERE shuttle_route_id NOT IN
WHERE shuttle_route_id IN
(SELECT shuttle_route_id FROM shuttle_routes WHERE direction_desc NOT IN (#{get_valid_direction_sql_strings()}));
""")

Expand Down

0 comments on commit 8699976

Please sign in to comment.