#28832: django migrations to PostgreSQL not handling order_with_respect_to 
removals
-------------------------------------+-------------------------------------
     Reporter:  AJ                   |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Migrations           |                  Version:  1.11
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
  order_with_respect_to PostgreSQL   |  Unreviewed
  makemigrations                     |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Simon Charette):

 > Is it possible that since my local development testbed uses SQLite that
 the migration file was insufficiently built to allow for my live
 PostgreSQL DB? Or are the migration files definitely still DB-type
 agnostic?

 Migrations should be database agnostic but you should definitely be using
 the same database for your local environment and run your test suite
 against it.

 > So I have to admit I have little understanding how Django builds
 migration scripts under the hood. I only work above the hood, but I can
 point you to the commits that track the problem...

 I'm afraid this ticket tracker isn't the right place to theorize about
 what could have gone wrong from your source as it would be very time
 consuming. Unless you're able are to provide steps to reproduce your issue
 or dismiss the theory described above related to your deployment strategy
 in regards to addition of non null-fields if afraid we'll have to close
 this ticket as 'needsinfo'.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28832#comment:5>
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/069.4888550c8a72e8810fb3ba76094c878f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to