Autoclean postgresql data when stop maven

Viewed 27

I've been writing integration tests for a few weeks, the data from the database was only received when I start maven in intellij and this helped me a lot because every time I stopped maven the data was cleared, but when I decided to press maven install then validate because the program had new functionalities and the database is no longer cleared. How can I set it again so that every time the database is cleared after stopping maven in intellij?

0 Answers
Related