Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
Fix: Add Unique Constraint for RegistrationToken and TeleTan (#251)
Browse files Browse the repository at this point in the history
* Unique Constraint for RegistrationToken and TeleTan

* Add to Liquibase Changelog
  • Loading branch information
f11h authored Nov 22, 2021
1 parent 2c3e3b6 commit 9013d1c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/resources/db/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ databaseChangeLog:
- include:
file: changelog/v003-add-unique-hashed-guid.yml
relativeToChangelogFile: true
- include:
file: changelog/v004-add-unique-registration-token-teletan.yml
relativeToChangelogFile: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
databaseChangeLog:
- changeSet:
id: add-unique-registration-token-teletan
author: f11h
changes:
- addUniqueConstraint:
tableName: app_session
columnNames: registration_token_hash, tele_tan_hash

0 comments on commit 9013d1c

Please sign in to comment.