Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<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">
<changeSet author="rehiligha" id="1768810989283-1">
<comment>Update RegulationTypeText to regulationType in spreadsheet_column :: formula, column_id and dependencies</comment>
<update tableName="spreadsheet_column">
<column name="formula" valueComputed="REPLACE(formula, 'RegulationTypeText', 'regulationType')" />
<where>formula LIKE '%RegulationTypeText%'</where>
</update>
<update tableName="spreadsheet_column">
<column name="dependencies" valueComputed="REPLACE(dependencies, 'RegulationTypeText', 'regulationType')" />
<where>dependencies LIKE '%RegulationTypeText%'</where>
</update>
<update tableName="spreadsheet_column">
<column name="column_id" value="regulationType" />
<where>column_id = 'RegulationTypeText'</where>
</update>
</changeSet>
</databaseChangeLog>
3 changes: 3 additions & 0 deletions src/main/resources/db/changelog/db.changelog-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,7 @@ databaseChangeLog:
relativeToChangelogFile: true
- include:
file: changesets/changelog_20260128T102437Z.xml
relativeToChangelogFile: true
- include:
file: changesets/changelog_20260210T101010Z.xml
relativeToChangelogFile: true
4 changes: 2 additions & 2 deletions src/main/resources/default-spreadsheet-config-collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -1062,9 +1062,9 @@
"name": "Regulation type",
"type": "ENUM",
"precision": null,
"formula": "RegulationTypeText",
"formula": "regulationType",
"dependencies": null,
"id": "RegulationTypeText"
"id": "regulationType"
},
{
"name": "Regulated terminal",
Expand Down