How can I drop all the tables in a PostgreSQL database?
If all of your tables are in a single schema, this approach could work (below code assumes that the name of your schema is public) If you are using PostgreSQL 9.3 or greater, you may also need to restore the default grants.