Skip to content

Commit

Permalink
[#13060] Add beta 5 liquibase changelog and developers json (#13061)
Browse files Browse the repository at this point in the history
* Add beta 5 changelog

* Update changelog to be in alphabetical order

* Update developers.json
  • Loading branch information
ziqing26 committed Apr 19, 2024
1 parent 498efdc commit 81eae17
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 5 deletions.
3 changes: 2 additions & 1 deletion docs/schema-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ Here is a brief description of the activities defined for Liquibase
5. Generate snapshot of database by running `./gradlew liquibaseSnapshot -PrunList=snapshot`, the snapshot will be output to `liquibase-snapshot.json`
6. Checkout your branch and repeat steps 2 and 4 to generate the tables found on your branch
7. Run `./gradlew liquibaseDiffChangeLog -PrunList=diffMain` to generate changeLog to resolve database schema differences

8. Manually add a changeSet to tag the database using `release_number` (See the last changeset in v9.0.0 for reference).
9. Include the new changelog file in `changelog-root.xml`.
1 change: 1 addition & 0 deletions src/main/resources/db/changelog/db.changelog-root.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
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/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">
<include file="src/main/resources/db/changelog/db.changelog-v9.0.0.xml" />
<include file="src/main/resources/db/changelog/db.changelog-v9.0.0beta.5.xml" />
</databaseChangeLog>
37 changes: 37 additions & 0 deletions src/main/resources/db/changelog/db.changelog-v9.0.0beta.5.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
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/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">
<changeSet author="ziqing (generated)" id="1713527659740-1">
<createTable tableName="feedback_session_logs">
<column name="id" type="UUID">
<constraints nullable="false" primaryKey="true" primaryKeyName="feedback_session_logs_pkey"/>
</column>
<column name="created_at" type="TIMESTAMP WITH TIME ZONE"/>
<column name="feedback_session_log_type" type="VARCHAR(255)">
<constraints nullable="false"/>
</column>
<column name="timestamp" type="TIMESTAMP WITH TIME ZONE">
<constraints nullable="false"/>
</column>
<column name="session_id" type="UUID"/>
<column name="student_id" type="UUID"/>
</createTable>
</changeSet>
<changeSet author="ziqing (generated)" id="1713527659740-2">
<addColumn tableName="account_requests">
<column name="comments" type="text"/>
</addColumn>
</changeSet>
<changeSet author="ziqing (generated)" id="1713527659740-3">
<addColumn tableName="account_requests">
<column name="status" type="varchar(255 BYTE)"/>
</addColumn>
</changeSet>
<changeSet author="ziqing (generated)" id="1713527659740-4">
<dropUniqueConstraint constraintName="Unique name and institute" tableName="account_requests"/>
</changeSet>
<changeSet author="ziqing" id="1713527659740-5">
<tagDatabase tag="v9.0.0beta.5"/>
</changeSet>
</databaseChangeLog>
12 changes: 8 additions & 4 deletions src/web/data/developers.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,14 +211,14 @@
"name": "André Alves",
"username": "andremralves"
},
{
"name": "Andy Daehn",
"username": "andydaehn"
},
{
"name": "Andy",
"username": "Andy-W-Developer"
},
{
"name": "Andy Daehn",
"username": "andydaehn"
},
{
"multiple": true,
"name": "Ang Ji Kai",
Expand Down Expand Up @@ -649,6 +649,10 @@
{
"username": "Emp923"
},
{
"name": "",
"username": "eraldprifti03"
},
{
"name": "Eric Liu",
"username": "ericluoliu"
Expand Down

0 comments on commit 81eae17

Please sign in to comment.