#27054: makemigrations tries to create django_migrations in legacy database
--------------------------------------+--------------------
     Reporter:  SydneyUniLibrary-Jim  |      Owner:  nobody
         Type:  Bug                   |     Status:  new
    Component:  Migrations            |    Version:  1.10
     Severity:  Normal                |   Keywords:
 Triage Stage:  Unreviewed            |  Has patch:  0
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+--------------------
 I have 2 databases set up. A database for Django to use and a read-only
 database connection to an external system that is outside of Django's
 control. I am using a database router to select between the two databases.
 My models for the external database all have managed = False.

 In Django 1.9, I was successfully running makemigrations. In Django 1.10,
 makemigrations raises an error.

 `django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create
 the django_migrations table (permission denied for schema external_db)`

--
Ticket URL: <https://code.djangoproject.com/ticket/27054>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.a31be7c0b2049d79992ab7cdc2a61717%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to