Skip to content

Commit 7a87d55

Browse files
authored
Set the default value of the linefullpath parameter to false (#74)
1 parent 7f84e4c commit 7a87d55

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

src/main/java/org/gridsuite/studyconfig/server/entities/NetworkVisualizationParamEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class NetworkVisualizationParamEntity {
2929
private UUID id;
3030

3131
@Column(name = "line_full_path")
32-
private Boolean lineFullPath = true;
32+
private Boolean lineFullPath = false;
3333

3434
@Column(name = "line_parallel_path")
3535
private Boolean lineParallelPath = true;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
2+
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:pro="http://www.liquibase.org/xml/ns/pro" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-latest.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">
3+
<changeSet author="jeandatcar" id="1757061740932-1">
4+
<update tableName="network_visualization_params">
5+
<column name="line_full_path" valueBoolean="false"/>
6+
</update>
7+
</changeSet>
8+
</databaseChangeLog>

src/main/resources/db/changelog/db.changelog-master.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,6 @@ databaseChangeLog:
7171
- include:
7272
file: changesets/changelog_20250723T155729Z.xml
7373
relativeToChangelogFile: true
74+
- include:
75+
file: changesets/changelog_20250905T114211Z.xml
76+
relativeToChangelogFile: true

0 commit comments

Comments
 (0)