#27142: makemigrations fails on special database connections
----------------------------+--------------------
     Reporter:  gerricom    |      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
----------------------------+--------------------
 As direx in #27110 I have a bunch of database connections defined in
 `settings.DATABASES` which I'm using only with raw queries. One of them is
 a sphinxsearch engine. You can use a subset of MySQL commands to query the
 indexes, but not all MySQL commands are implemented there. So
 `makemigrations` fails when checking for the database schema:


 {{{
 django.db.utils.ProgrammingError: (1064, "sphinxql: syntax error,
 unexpected IDENT, expecting VARIABLES near 'FULL TABLES'")
 }}}

 I know, this will be some kind of edge-case but it would be helpful to
 skip any migration-related tasks for selected databases.

--
Ticket URL: <https://code.djangoproject.com/ticket/27142>
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/051.f03e088040d47ec7aeb05ca2a3ad3788%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to