Postgresql wipe db

How to clean postgresql db without actually dropping it

connect to desired db
\c db_name

check db schema
\dn

delete tables
DROP SCHEMA public CASCADE;
CREATE SCHEMA public;

Afterwards, recreate grants
GRANT ALL ON SCHEMA public TO postgres;
GRANT ALL ON SCHEMA public TO YOUR_USER;