how to delete all tables from database in psql code example Example: force drop all tables postgres DROP SCHEMA public CASCADE; CREATE SCHEMA public;