﻿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
35040	Migrations Not Affecting The DB With Existing DATA	Mohammed Sinan KK	nobody	"
**The Case**\\

* I have a Django project without running any migration (cz migrations folder on my git ignore)
* I Replaced the DB(sqlite) with my DB with the data
* Note: In the project I have a model or a field that are new and not affected the db yet, So here there are no initial migrations file.
* I Run Makemigrations command
* The initial migrations files are generated
* When check the initial migrations file there showing the an effected model is also created in the operation list.
* I run migrate
* When I try to access the model geting error called no such table/ column

**Currently How We Fix**\\
* Currently we fix this issue by manually comment/remove the un-applied operation item from the list and re-run the Makemigration and migrate then it should be fixed

"	Bug	closed	Migrations	4.2	Normal	needsinfo			Unreviewed	0	0	0	0	0	0
