diff --git a/editoast/migrations/2023-10-11-222214_delete_track_links/up.sql b/editoast/migrations/2023-10-11-222214_delete_track_links/up.sql index 4edf57e56e3..631b9675125 100644 --- a/editoast/migrations/2023-10-11-222214_delete_track_links/up.sql +++ b/editoast/migrations/2023-10-11-222214_delete_track_links/up.sql @@ -1,4 +1,5 @@ -- Your SQL goes here - DROP TABLE infra_layer_track_section_link; DROP TABLE infra_object_track_section_link; +DELETE FROM infra_layer_error +WHERE information->>'obj_type' = 'TrackSectionLink'; diff --git a/editoast/src/generated_data/error/switches.rs b/editoast/src/generated_data/error/switches.rs index 88bc443fcc2..06c73ea414a 100644 --- a/editoast/src/generated_data/error/switches.rs +++ b/editoast/src/generated_data/error/switches.rs @@ -82,8 +82,6 @@ pub fn check_match_ports_type( } } -// TODO : check overlapping switch link and classical switch ? - /// Check if the switch ports are not already used by another switch fn check_overlapping( switch: &ObjectCache, diff --git a/python/osrd_schemas/pyproject.toml b/python/osrd_schemas/pyproject.toml index 32a94c30c7d..d66245a09b8 100644 --- a/python/osrd_schemas/pyproject.toml +++ b/python/osrd_schemas/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "osrd_schemas" -version = "0.7.3" +version = "0.7.4" description = "" authors = ["OSRD "] diff --git a/python/railjson_generator/pyproject.toml b/python/railjson_generator/pyproject.toml index 84f2dfa4284..691b093824f 100644 --- a/python/railjson_generator/pyproject.toml +++ b/python/railjson_generator/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "railjson_generator" -version = "0.2.5" +version = "0.2.6" description = "" authors = ["OSRD "]