3 ms·
Wow, that's a fantastic feature for development! I remember once we explored various approaches to resetting the DB, because resetting the DB between tests was
by grogers 5y ago
Wow, that's a fantastic feature for development! I remember once we explored various approaches to resetting the DB, because resetting the DB between tests was about half the time of the test suite.
In our case the static data wasn't huge so just truncating every table then re-adding the static data was fast enough. I think originally it was doing something like a mysqldump restore.