diff --git a/pom.xml b/pom.xml index c1bab86e..2c033d48 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ + + + + + + + UPDATE identifier_list_filter + SET equipment_type_new = CASE + WHEN equipment_type = 0 THEN 'LINE' + WHEN equipment_type = 1 THEN 'GENERATOR' + WHEN equipment_type = 2 THEN 'LOAD' + WHEN equipment_type = 3 THEN 'SHUNT_COMPENSATOR' + WHEN equipment_type = 4 THEN 'STATIC_VAR_COMPENSATOR' + WHEN equipment_type = 5 THEN 'BATTERY' + WHEN equipment_type = 6 THEN 'BUS' + WHEN equipment_type = 7 THEN 'BUSBAR_SECTION' + WHEN equipment_type = 8 THEN 'DANGLING_LINE' + WHEN equipment_type = 9 THEN 'LCC_CONVERTER_STATION' + WHEN equipment_type = 10 THEN 'VSC_CONVERTER_STATION' + WHEN equipment_type = 11 THEN 'TWO_WINDINGS_TRANSFORMER' + WHEN equipment_type = 12 THEN 'THREE_WINDINGS_TRANSFORMER' + WHEN equipment_type = 13 THEN 'HVDC_LINE' + WHEN equipment_type = 14 THEN 'SUBSTATION' + WHEN equipment_type = 15 THEN 'VOLTAGE_LEVEL' + END; + + + + + diff --git a/src/main/resources/db/changelog/db.changelog-master.yaml b/src/main/resources/db/changelog/db.changelog-master.yaml index 726dc567..a8898781 100644 --- a/src/main/resources/db/changelog/db.changelog-master.yaml +++ b/src/main/resources/db/changelog/db.changelog-master.yaml @@ -45,4 +45,7 @@ databaseChangeLog: relativeToChangelogFile: true - include: file: changesets/changelog_20240426T120841Z.xml + relativeToChangelogFile: true + - include: + file: changesets/changelog_20240902T233408Z.xml relativeToChangelogFile: true \ No newline at end of file