This repository has been archived by the owner on Sep 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stop revoked cert sequence from incrementing on every upsert
- Loading branch information
Showing
6 changed files
with
46 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...erifier-data/src/main/resources/db/migration/pgsql/V0_6__reset_revoked_certs_sequence.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* Created by Ubique Innovation AG | ||
* https://www.ubique.ch | ||
* Copyright (c) 2021. All rights reserved. | ||
*/ | ||
|
||
delete from t_revoked_cert; | ||
select setval('t_revoked_cert_pk_revoked_cert_id_seq', 1); |
8 changes: 8 additions & 0 deletions
8
...data/src/main/resources/db/migration/pgsql_cluster/V0_6__reset_revoked_certs_sequence.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* Created by Ubique Innovation AG | ||
* https://www.ubique.ch | ||
* Copyright (c) 2021. All rights reserved. | ||
*/ | ||
|
||
delete from t_revoked_cert; | ||
select setval('t_revoked_cert_pk_revoked_cert_id_seq', 1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters