﻿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
30611	Add reversal options object to django migration constructs/class constructors	Rico Rodriguez	nobody	"See https://code.djangoproject.com/ticket/23048#comment:4

To redress the unfortunate situation where one has to try to reverse the deletion of a non-null field with no specified defaults:

{{{
#!div style=""font-size: 80%""
Code highlighting:
  {{{#!python
  migrations.RemoveField(model_name=""child"", name=""age_at_birth"", reversal_options={""null"": True}), 
  }}}
}}}

A reversal object as such could be added to many of the migrations constructs. Let me know if this needs clarification."	New feature	closed	Migrations	dev	Normal	duplicate			Unreviewed	0	0	0	0	0	0
