Skip to content

Commit

Permalink
add unique constraint into email
Browse files Browse the repository at this point in the history
  • Loading branch information
Boonyarit Rousamran authored and hokkung committed Apr 3, 2024
1 parent fc2a6dc commit 4a99bc1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/resources/db/changelog/changelog-v1.4.0.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,7 @@ http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibas
<column name="email" />
</createIndex>
</changeSet>
<changeSet id="1.4.4-add-unique-constraint-email" author="Leo">
<addUniqueConstraint tableName="users" columnNames="email" />
</changeSet>
</databaseChangeLog>

0 comments on commit 4a99bc1

Please sign in to comment.