Skip to content

Commit

Permalink
Remove obsolete user parameters from database (#65)
Browse files Browse the repository at this point in the history
Signed-off-by: David BRAQUART <david.braquart@rte-france.com>
  • Loading branch information
dbraquart authored Feb 4, 2025
1 parent 17810bb commit 801f040
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?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="dbraquart" id="1734002324759-1">
<sql dbms="postgresql">
delete from parameters where name not in ('theme', 'language', 'useName', 'limitReduction', 'enableDeveloperMode', 'favoriteContingencyLists');
</sql>
</changeSet>
</databaseChangeLog>
4 changes: 4 additions & 0 deletions src/main/resources/db/changelog/db.changelog-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ databaseChangeLog:

- include:
file: changesets/changelog_20220209T183000Z.xml
relativeToChangelogFile: true

- include:
file: changesets/changelog_20250203T111835Z.xml
relativeToChangelogFile: true

0 comments on commit 801f040

Please sign in to comment.