Skip to content

Commit 865f68d

Browse files
committed
Fixed psycopg migrations.
1 parent 9d9d991 commit 865f68d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastapi_template/template/{{cookiecutter.project_name}}/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ services:
4343
kafka:
4444
condition: service_healthy
4545
{%- endif %}
46-
{%- if cookiecutter.enable_migrations == 'True' %}
46+
{%- if cookiecutter.enable_migrations == 'True' and cookiecutter.orm != 'psycopg' %}
4747
migrator:
4848
condition: service_completed_successfully
4949
{%- endif %}

0 commit comments

Comments
 (0)