Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDGEN-128: Add migration for MariaDB servers #119

Merged
merged 1 commit into from
Nov 16, 2023
Merged
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
15 changes: 15 additions & 0 deletions api/src/main/resources/liquibase.xml
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,21 @@
<replace replace="name-of-uuid-function" with="UUID()"/>
</modifySql>
</changeSet>

<changeSet id="9b5c919c-2223-41d2-824a-b65869666028" author="Ian Bacher">
<preConditions onFail="MARK_RAN">
<dbms type="mariadb" />
</preConditions>
<comment>
Generating UUIDs for all rows in the idgen_auto_generation_option table for MariaDB to not distub daa579e7-b8de-4858-bfe5-c9ef2606db5e
</comment>
<update tableName="idgen_auto_generation_option" >
<column name="uuid" valueNumeric="name-of-uuid-function" />
</update>
<modifySql dbms="mariadb">
<replace replace="name-of-uuid-function" with="UUID()"/>
</modifySql>
</changeSet>

<changeSet id="6b164990-ccd3-4508-9c08-11d27786da17" author="Samuel Male">
<comment>
Expand Down
Loading