Skip to content

Commit

Permalink
fix: Fix Sequence generation in HSQLDB - Meeds-io/MIPs#57
Browse files Browse the repository at this point in the history
Prior to this change, the HSQLDB wasn't using Sequences for auto incrementation of IDs in HSQLDB (Dev Server). This change will allow to initiate a sequence when using Dev Mode of Server using HSQLDB.
  • Loading branch information
boubaker committed Jan 11, 2024
1 parent bd7c7e2 commit 164ee06
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,13 @@
</column>
</createTable>
</changeSet>
<changeSet author="exo-gamification" id="1.0.0-9" dbms="oracle,postgresql">
<changeSet author="exo-github-connector" id="1.0.0-9" dbms="oracle,postgresql,hsqldb" onValidationFail="MARK_RAN" failOnError="false">
<validCheckSum>ANY</validCheckSum>
<preConditions>
<not>
<sequenceExists sequenceName="SEQ_GITHUB_WEBHOOKS_ID" />
</not>
</preConditions>
<createSequence sequenceName="SEQ_GITHUB_WEBHOOKS_ID" startValue="1"/>
</changeSet>
</databaseChangeLog>
Expand Down

0 comments on commit 164ee06

Please sign in to comment.