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;
のようにして対応します。
http://qiita.com/a-suenami/items/e231adc2e083ef9449f6