ohmydatabase

1. Select Database & Extract

Choose your database type and copy the extraction command.

pg_dump -s -t '*' --schema-only [DB_NAME]

Run this command in your terminal to get the schema-only dump of your database.