I've a file with the SQL statements to create tables, indexes, etc, and another file with data test to use in the test database. Then, I want that they can be removed.
How to remove table and indexes from a database? Is there a generic way to remove them in MySQL and PostgreSQL?