Skip to content

Commit

Permalink
Development: Remove redundant database columns from online course con…
Browse files Browse the repository at this point in the history
…figuration (#8148)
  • Loading branch information
basak-akan authored and Stephan Krusche committed Mar 24, 2024
1 parent 9014387 commit 7190c79
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog https://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">
<changeSet author="basak-akan" id="20240304125234">
<!-- Drop the original_url column -->
<dropColumn tableName="online_course_configuration" columnName="original_url"/>
<!-- Drop the registration_id column -->
<dropColumn tableName="online_course_configuration" columnName="registration_id"/>
<!-- Drop the client_id column -->
<dropColumn tableName="online_course_configuration" columnName="client_id"/>
<!-- Drop the authorization_uri column -->
<dropColumn tableName="online_course_configuration" columnName="authorization_uri"/>
<!-- Drop the jkw_set_uri column -->
<dropColumn tableName="online_course_configuration" columnName="jkw_set_uri"/>
<!-- Drop the token_uri column -->
<dropColumn tableName="online_course_configuration" columnName="token_uri"/>
</changeSet>
</databaseChangeLog>
1 change: 1 addition & 0 deletions src/main/resources/config/liquibase/master.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
<include file="classpath:config/liquibase/changelog/20231126172632_changelog.xml" relativeToChangelogFile="false"/>
<include file="classpath:config/liquibase/changelog/20240115231508_changelog.xml" relativeToChangelogFile="false"/>
<include file="classpath:config/liquibase/changelog/20240118175408_changelog.xml" relativeToChangelogFile="false"/>
<include file="classpath:config/liquibase/changelog/20240304125234_changelog.xml" relativeToChangelogFile="false"/>
<include file="classpath:config/liquibase/changelog/20240304102643_changelog.xml" relativeToChangelogFile="false"/>
<include file="classpath:config/liquibase/changelog/20240307174511_changelog.xml" relativeToChangelogFile="false"/>
<!-- NOTE: please use the format "YYYYMMDDhhmmss_changelog.xml", i.e. year month day hour minutes seconds and not something else! -->
Expand Down

0 comments on commit 7190c79

Please sign in to comment.