Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3926

Symfony 4 - How to run Doctrine migrations before test?

$
0
0

I know that there are a lot of similar questions (Codeception & Symfony - run Doctrine migrations before tests) but do I really need to run migrations in tests like exec(...) or there is a better way for doing that?

Another thing: when I try to run migrations for sqlite db i get an error message: Migration can only be executed safely on mysql


Viewing all articles
Browse latest Browse all 3926

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>