From 3076c0d8a57ee4f6175d1d95442633e8408d37e9 Mon Sep 17 00:00:00 2001 From: Mathias Behrle Date: Fri, 30 Jan 2015 04:14:06 +0100 Subject: [PATCH] Migrate actstream before deleting stale document types. (Issue #153) --- .../documents/south_migrations/0031_remove_orphan_documents.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mayan/apps/documents/south_migrations/0031_remove_orphan_documents.py b/mayan/apps/documents/south_migrations/0031_remove_orphan_documents.py index d1293e409f..7b2d4ed48e 100644 --- a/mayan/apps/documents/south_migrations/0031_remove_orphan_documents.py +++ b/mayan/apps/documents/south_migrations/0031_remove_orphan_documents.py @@ -5,6 +5,9 @@ from django.db import models class Migration(DataMigration): + depends_on = ( + ('actstream', '0007_auto__add_field_follow_started'), + ) def forwards(self, orm): "Write your forwards methods here."