﻿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
33744	sqlmigrate wraps it's output in BEGIN/COMMIT even if atomic transactions are disabled	Joe Meissler	nobody	"This is very similar to ticket:30189. With that fix, `sqlmigrate` now [https://github.com/django/django/blob/7119f40c9881666b6f9b5cf7df09ee1d21cc8344/django/core/management/commands/sqlmigrate.py#L74 takes into consideration]  `migration.atomic` and `connection.features.can_rollback_ddl`. It does not, however, consider if the schema editor is [https://github.com/django/django/blob/7119f40c9881666b6f9b5cf7df09ee1d21cc8344/django/db/backends/base/schema.py#L143 using an atomic migration].

`sqlmigrate` can be updated to use `migration.atomic and schema_editor.atomic_migration` instead of `migration.atomic and connection.features.can_rollback_ddl`.

I'm happy to work on this once it is approved."	Cleanup/optimization	closed	Migrations	4.0	Normal	wontfix		Simon Charette	Unreviewed	0	0	0	0	1	0
