Make sure the ocr field of document type exists before we try to put data into it

This commit is contained in:
Roberto Rosario
2015-01-15 03:44:16 -04:00
parent a2b2011277
commit 172ef1e79a

View File

@@ -14,6 +14,10 @@ def fake_get_or_create(model, *args, **kwargs):
class Migration(SchemaMigration):
depends_on = (
('documents', '0024_auto__add_field_documenttype_ocr'),
)
needed_by = (
('documents', '0031_remove_orphan_documents'),
)