﻿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
31176	"""manage.py migrate"" should wrap all migrations into a single transaction."	Andrew Badr	nobody	"Currently, `manage.py migrate` executes each migration in turn within its own transaction. This can break things in the following situation:
1. Attempt to deploy a change that includes multiple unapplied migrations
2. Some of the migrations get applied, then one fails (like a check constraint)
3. Code deploy is rolled back, but database is left in an inconsistent state.

To avoid this problem, if the user is attempting to apply a set of migrations all at once, they should all be wrapped into a single transaction."	Cleanup/optimization	closed	Migrations	3.0	Normal	duplicate			Unreviewed	0	0	0	0	0	0
