#27141: makemigrations fails with PermissionDenied on django_migrations
-------------------------------+--------------------
     Reporter:  sjoerdjob      |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Uncategorized  |    Version:  1.10
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 On a project I'm currently working on, I have read-only access to 1 table
 on a database.

 Similar to #27054, except that the table `django_migrations` does exist, I
 just don't have read-access to it.

 Error message:

     django.db.utils.ProgrammingError: permission denied for relation
 django_migrations.

 The error occurs in `recorder.py:MigrationRecorder.applied_migrations`,
 specifically the line

     return set(tuple(x) for x in self.migration_qs.values_list("app",
 "name"))

--
Ticket URL: <https://code.djangoproject.com/ticket/27141>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.fba60df5a798f3b9586288c8212cb4df%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to