MigrationSchemaMissing(Unable to create the django_migrations table (%s) % exc)

前端 未结 1 675
野性不改
野性不改 2020-12-19 13:49

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

相关标签:
1条回答
  • 2020-12-19 14:23

    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;
    
    0 讨论(0)
提交回复
热议问题