PostgreSQLでdrop schema publicの際にエラーが起きた時にすること

could not execute query: ERROR:  cannot drop schema public because other objects depend on it
DETAIL:  sequence eip_m_mybox_mybox_id_seq depends on schema public
HINT:  Use DROP ... CASCADE to drop the dependent objects too.
    Command was: DROP SCHEMA public;
pg_restore: [archiver (db)] could not execute query: ERROR:  schema "public" already exists
    Command was: CREATE SCHEMA public;


drop schema public cascade;
create schema public;