﻿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
24876	Skipping migrations checking in sql* commands	Marcin Nowak	nobody	"There are some IT projects that do not require Django`s builtin migrations but use external migration tool. As a maintainer of projects of that type  I need to generate SQLs from models in same way as before Django 1.7.

Currently when I need to generate SQL for `auth` package using `sql`, `sqlall` and `sqlindexes` commands, I'm getting an error:

{{{
CommandError: App 'auth' has migrations. Only the sqlmigrate and sqlflush commands can be used when an app has migrations.
}}}

But I'm expecting generated SQL instead.

Please add possibility to generate SQL for smart users which know what they are doing.

I'm sending patch proposal as an attachment.

Please backport this fix to 1.7 and 1.8 branches.

Thank you very much.
"	Uncategorized	closed	Uncategorized	1.8	Normal	duplicate			Unreviewed	0	0	0	0	0	0
