Changes between Initial Version and Version 1 of Ticket #34988, comment 1


Ignore:
Timestamp:
Nov 22, 2023, 7:15:12 AM (12 months ago)
Author:
David Sanders

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34988, comment 1

    initial v1  
    2828  ticket_34988_app_1/migrations/0002_app2_foo.py
    2929    - Add field foo to app2
     30
    3031django-sample % dj makemigrations ticket_34988_app_1
    3132It is impossible to add a non-nullable field 'bar' to app1 without specifying a default. This is because the database needs something to populate existing rows.
Back to Top