Skip to content

Conversation

@philipheimboeck
Copy link

This PR adds a new hook for parallel testing which is executed before running the migrations.

Why

We have a quite big test database and we are importing a testing database dump after the database is created. We do not use the seeders for performance reasons. As the test dump is not necessarily always up to date, we want to run the migrations afterwards. As the normal hook is called after the migration this is not possible for us.

Therefore we'd like to introduce this hook, which allows us to run the import before the migrations are executed.

@philipheimboeck philipheimboeck force-pushed the feat/parallel-testing-pre-migration-db-setup-hook branch from 69fa603 to 58dcb82 Compare December 4, 2025 08:36
@philipheimboeck philipheimboeck changed the title add pre-migration hook when setting up databases in parallel tests [12.x] feat: add pre-migration hook when setting up databases in parallel tests Dec 4, 2025
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.

1 participant