From 769d53698583fbdf8a78c5fd5d28652831e1c270 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 15 Jan 2015 02:54:19 -0400 Subject: [PATCH] Add source -> documents migration dependency check --- mayan/apps/sources/south_migrations/0007_set_doc_type.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mayan/apps/sources/south_migrations/0007_set_doc_type.py b/mayan/apps/sources/south_migrations/0007_set_doc_type.py index dfc681b1cb..1ddb7c9b3e 100644 --- a/mayan/apps/sources/south_migrations/0007_set_doc_type.py +++ b/mayan/apps/sources/south_migrations/0007_set_doc_type.py @@ -13,6 +13,9 @@ def fake_get_or_create(model, *args, **kwargs): class Migration(DataMigration): + needed_by = ( + ('documents', '0024_auto__add_field_documenttype_ocr'), + ) def forwards(self, orm): "Write your forwards methods here."