fix(init): add setting to enable durable locks on crdb (#7982)

feat(init): add setting to enable durable locks on crdb
This commit is contained in:
Silvan
2024-05-27 11:03:34 +02:00
committed by GitHub
parent 0b366bece6
commit cff0f73e24
9 changed files with 102 additions and 4 deletions

View File

@@ -0,0 +1,4 @@
-- replace the first %[1]q with the database in double quotes
-- replace the second \%[2]q with the user in double quotes$
-- For more information see technical advisory 10009 (https://zitadel.com/docs/support/advisory/a10009)
ALTER ROLE %[2]q IN DATABASE %[1]q SET enable_durable_locking_for_serializable = on;