﻿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
31844	When running migrations, the origional starting migrations should be shown.	Timothy Hobbs	nobody	"In order to make it easier to roll back migrations, it would be quite useful to show the migrations that were applied immiediately before the run migrations. For example:

Instead of displaying:

{{{
Operations to perform:

  Apply all migrations: admin, admin_tools_stats, advanced_filters, aklub, auth, celery_monitor, computedfields, contenttypes, dashboard, django_celery_beat, django_nyt, flexible_filter_conditions, helpdesk, import_export_celery, import_export_celery_edit, interactions, menu, oauth2_provider, post_office, repolinks, sessions, sites, smmapdfs, smmapdfs_edit, thumbnail, wiki, wiki_attachments, wiki_images, wiki_notifications

Running migrations:

  Applying admin.0002_auto_20190108_1629... OK

  Applying admin.0002_auto_20181114_1448... OK

  Applying admin.0003_merge_20190120_1444... OK

  Applying admin.0004_auto_20190826_2034... OK

  Applying admin.0005_auto_20190904_1547... OK

  Applying admin.0006_auto_20190909_0912... OK
}}}

There would be:

{{{
Operations to perform:

  Apply all migrations: admin, admin_tools_stats, advanced_filters, aklub, auth, celery_monitor, computedfields, contenttypes, dashboard, django_celery_beat, django_nyt, flexible_filter_conditions, helpdesk, import_export_celery, import_export_celery_edit, interactions, menu, oauth2_provider, post_office, repolinks, sessions, sites, smmapdfs, smmapdfs_edit, thumbnail, wiki, wiki_attachments, wiki_images, wiki_notifications

Starting from:

   admin.0001_auto_20180108_1629


Running migrations:

  Applying admin.0002_auto_20190108_1629... OK

  Applying admin.0002_auto_20181114_1448... OK

  Applying admin.0003_merge_20190120_1444... OK

  Applying admin.0004_auto_20190826_2034... OK

  Applying admin.0005_auto_20190904_1547... OK

  Applying admin.0006_auto_20190909_0912... OK
}}}

This way it would be easy to roll back the migration simply by copying the origional migration name

{{{
./manage.py migrate  admin.0001_auto_20180108_1629
}}}"	Uncategorized	closed	Uncategorized	3.0	Normal	wontfix			Unreviewed	0	0	0	0	0	0
