﻿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
36303	Add ghost migrations warning to runserver	Jacob Walls	Jacob Walls	"On the [https://forum.djangoproject.com/t/check-for-ghost-migrations-opposite-of-you-have-n-unapplied-migration-s/38657 forum], several folks indicated interest in supplementing the runserver warning about missing migrations with a warning for ""ghost"" migrations: migrations recorded on the database but not present on disk, presumably as a consequence of switching away from a feature branch under development.

I suggested wording along the lines of:
{{{
The following migrations are recorded as applied but no longer exist in your project:
…
Your project may not work correctly if they are reversible and are intended to be reversed.
To reverse the migrations, recover them (e.g. by switching branches) and run:
“manage.py migrate <app_name> <last_migration_on_disk>”
If you are certain the migrations do not need to be reversed, run:
“manage.py migrate <app_name> --prune” to remove references to them.
}}}"	New feature	closed	Migrations	dev	Normal	wontfix		Simon Charette David Sanders Andrew Godwin	Unreviewed	0	0	0	0	0	0
