MigrationSchemaMissing (unable to create django_migrations table (% s)% exc)

The steps I took: 1. Deleted migration files. 2. Created only one initial migration file. 3. Enter the psql command prompt. Connection to the database. common cascade of quotation patterns; create a public scheme; 4. tried to migrate again.

I get MigrationSchemaMissing (Unable to create django_migrations table (% s)% exc) Error.

+4
source share
1 answer

This answer and commentary on his question works for me, in short you should get the required grant for the scheme, as shown below:

grant usage on schema public to username;
grant create on schema public to username;
+6
source

All Articles