Following steps might be helpful (For linux users):
At first enter the
postgrescommand prompt by following command:sudo -u postgres psqlEnter the database by this command (my database name is:
maoss):\c maossNow enter the command for droping all tables:
DROP SCHEMA public CASCADE; CREATE SCHEMA public; GRANT ALL ON SCHEMA public TO postgres; GRANT ALL ON SCHEMA public TO public;Now exit from
psqlby following command:\q