#35373: db_index=True on a Generated Column generates failing migrations
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  dickermoshe                        |
                   Type:  Bug        |         Status:  new
              Component:  Database   |        Version:  5.0
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:  migrations,db
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 A migration where I added an index to a generated column resulted in a
 migrations that fails with

 {{{
 django.db.utils.OperationalError: cannot INSERT into generated column
 "effectivePrice"
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35373>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018edaf0df3c-8b4048e8-e4de-4947-828e-f6b9c1bd207d-000000%40eu-central-1.amazonses.com.

Reply via email to