Handy script to clean database tables

I've attached a little script that can help you clean your database to prepare for a new test session. Gist here: https://gist.github.com/cristiroma/bf7930da3a99d96aa9d8