Skip to content

Conversation

@abachman-dsac
Copy link
Member

follow-up to #178

Problem

The Flyway image doesn't contain the new flyway/sql/django_reference_data folder.

In development and CI it worked because backend/docker-compose.yaml mounts the whole flyway/sql folder as part of the db-migrations service definition.

    volumes:
      - '../flyway/sql:/flyway/sql'

Solution

Add ADD ./sql/django_reference_data ./sql/django_reference_data to the flyway deployment Dockerfile.

Result

The Flyway image built for deployment should include all required migrations.

@wbprice wbprice merged commit 0e77a67 into main Nov 4, 2025
9 checks passed
@abachman-dsac abachman-dsac deleted the abachman-dsac/django-reference-data-in-flyway branch November 4, 2025 21:23
@abachman-dsac abachman-dsac mentioned this pull request Nov 5, 2025
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants