drop all tables in selected database in postgres code example Example: force drop all tables postgres DROP SCHEMA public CASCADE; CREATE SCHEMA public;