diff --git a/.talismanrc b/.talismanrc index f6e0e85a93..eb706bb381 100644 --- a/.talismanrc +++ b/.talismanrc @@ -21,7 +21,7 @@ fileignoreconfig: - filename: backend/src/test/kotlin/unit/application/service/GetFileServiceTest.kt checksum: 8133265c6f388df84a3e0f61050428e8628853e0ba80b432e4723750a34b781e - filename: compose.yaml - checksum: 9d675192543f26b2017189596803aebef6b2a9f6b3187ad5a18f77726f9fcb31 + checksum: 0cf11aa3c7711e07ad50cc83cad9b4c5a2081e7400d949aa84a43b1c5354058e - filename: doc/norms/backend-api.yaml checksum: df4fa1f7e6d7023f9a7a98d1052c2b88c1785366962004b3165453edcd5bf4db - filename: doc/structurizr/workspace.json diff --git a/compose.yaml b/compose.yaml index 43462a8675..ed227edc5a 100644 --- a/compose.yaml +++ b/compose.yaml @@ -110,7 +110,7 @@ services: docker-entrypoint.sh postgres & sleep 5 # Create migration role (unless it exists) - [ "$(psql -U test postgres -Atc "select 1 from pg_roles where rolname = '$${MIGRATION_USER_NAME}';")" = "1" ] || psql -e -U test postgres -c "CREATE ROLE $${MIGRATION_USER_NAME} LOGIN PASSWORD '$${MIGRATION_USER_PASSWORD}';" + [ "$$(psql -U test postgres -Atc "select 1 from pg_roles where rolname = '$${MIGRATION_USER_NAME}';")" = "1" ] || psql -e -U test postgres -c "CREATE ROLE $${MIGRATION_USER_NAME} LOGIN PASSWORD '$${MIGRATION_USER_PASSWORD}';" # access for migration user psql -e -U test "$${POSTGRES_DB}" -c "CREATE SCHEMA IF NOT EXISTS incremental_migration;"