﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
23048	Add the ability to make RemoveField reversible for non-null fields	Harris Lapiroff	nobody	"RemoveField is an irreversible operation if a field's original state requires it be non-null.

To reproduce:

* Write a model with a field with `null=False`
* Make and run initial migrations.
* Create and save some instances of your model.
* Remove the field.
* Make and run the migration.
* Attempt to migrate back to the initial migration (i.e., `python manage.py migrate myapp 0001`)

You'll get `django.db.utils.IntegrityError: myapp_mymodel__new.field may not be NULL`

This behavior is documented (https://docs.djangoproject.com/en/dev/ref/migration-operations/#django.db.migrations.operations.RemoveField), but I believe there should be a way to provide a default value for the field when unapplying the migration."	New feature	closed	Migrations	1.7-rc-1	Normal	wontfix		rm_	Accepted	0	0	0	0	0	0
