Skip to content

Commit

Permalink
Fix insert bug
Browse files Browse the repository at this point in the history
  • Loading branch information
WorkingRobot committed Feb 17, 2025
1 parent 81e9a0d commit e4733a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/storage/db/travel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub async fn add_travel_states(
OR t.accept IS DISTINCT FROM n.accept
OR t.prohibit IS DISTINCT FROM n.prohibit
)
INSERT INTO world_statuses (world_id, travel, accept, prohibit)
INSERT INTO travel_states (world_id, travel, accept, prohibit)
SELECT n.world_id, n.travel, n.accept, n.prohibit
FROM new_data n
JOIN filtered_ids f USING (world_id);"#;
Expand Down

0 comments on commit e4733a2

Please sign in to comment.