Steps I did: 1. Deleted migration files. 2.created only one initial migration file. 3. Enter psql command prompt. Connect to database. drop schema public cascade; create sch
This answer and the comment on its question works for me, in brief you must get required grant for a schema as below:
grant usage on schema public to username; grant create on schema public to username;