﻿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
24424	Migrating an 'empty' model with SQLite gives an SQL syntax error	Adam Hayward	nobody	"On migrating an empty, abstract model, the method

`django.db.backends.sqlite3.schema.DatabaseSchemaEditor._remake_table()`

tries to execute the following SQL query:

`INSERT INTO ""companies_department__new"" () SELECT  FROM ""companies_department"";`

The correct SQL would be:

`INSERT INTO ""companies_department__new"" SELECT * FROM ""companies_department"";`

This appears to be the same problem specified in this ticket from South: http://south.aeracode.org/ticket/570 (see comment #15 at the bottom).

Will provide the patch to fix this shortly. Any indication of how to create a test case would be appreciated."	Bug	new	Migrations	master	Normal		sqlite3 migrations		Unreviewed	0	0	0	0	0	0
