Skip to content

Commit

Permalink
fixup! editoast: modify schemas, delete track_link and adapt editoast
Browse files Browse the repository at this point in the history
  • Loading branch information
younesschrifi committed Oct 11, 2023
1 parent 1fa9682 commit 2295545
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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';
2 changes: 0 additions & 2 deletions editoast/src/generated_data/error/switches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion python/osrd_schemas/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "osrd_schemas"
version = "0.7.3"
version = "0.7.4"
description = ""
authors = ["OSRD <[email protected]>"]

Expand Down
2 changes: 1 addition & 1 deletion python/railjson_generator/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "railjson_generator"
version = "0.2.5"
version = "0.2.6"
description = ""
authors = ["OSRD <[email protected]>"]

Expand Down

0 comments on commit 2295545

Please sign in to comment.