-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
osrd_schema+editoast: renamed panel to sign and lpv to psl
LPV (Limite Permanente de Vitesse) -> PSL (Permanent Speed Limit)
- Loading branch information
Showing
22 changed files
with
125 additions
and
107 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
9 changes: 9 additions & 0 deletions
9
editoast/migrations/2023-09-15-135824_lpv_to_psl_and_panel_to_sign/down.sql
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,9 @@ | ||
alter table infra alter column railjson_version set default '3.4.1'; | ||
|
||
update infra set railjson_version = '3.4.1'; | ||
|
||
alter table infra_layer_psl_sign rename to infra_layer_lpv_panel; | ||
|
||
update infra_object_speed_section set data['extensions']['lpv_sncf'] = data['extensions']['psl_sncf']; | ||
|
||
update infra_object_speed_section set data['extensions'] = data['extensions'] - 'psl_sncf'; |
9 changes: 9 additions & 0 deletions
9
editoast/migrations/2023-09-15-135824_lpv_to_psl_and_panel_to_sign/up.sql
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,9 @@ | ||
alter table infra alter column railjson_version set default '3.4.2'; | ||
|
||
update infra set railjson_version = '3.4.2'; | ||
|
||
alter table infra_layer_lpv_panel rename to infra_layer_psl_sign; | ||
|
||
update infra_object_speed_section set data['extensions']['psl_sncf'] = data['extensions']['lpv_sncf']; | ||
|
||
update infra_object_speed_section set data['extensions'] = data['extensions'] - 'lpv_sncf'; |
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
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
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
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
Oops, something went wrong.