-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See osrd-project/osrd-confidential#597 - adding editoast API to manage nge nodes - refacto osrd-nge sync to use the API - apply layout with webcola on nodes Signed-off-by: Benoit Simard <[email protected]>
- Loading branch information
Showing
22 changed files
with
2,257 additions
and
666 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DROP TABLE IF EXISTS macro_node; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
CREATE TABLE IF NOT EXISTS macro_node ( | ||
id int8 PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY, | ||
scenario_id int8 NOT NULL, | ||
position_x float8 NOT NULL, | ||
position_y float8 NOT NULL, | ||
full_name varchar(255), | ||
connection_time int8 NOT NULL DEFAULT 0, | ||
labels text[] NOT NULL, | ||
trigram varchar(25), | ||
path_item_key varchar(255) NOT NULL, | ||
UNIQUE (scenario_id, path_item_key) , | ||
CONSTRAINT fk_scenario | ||
FOREIGN KEY(scenario_id) | ||
REFERENCES scenario(id) | ||
); |
Oops, something went wrong.