From e29ea230fbaf393f4a091848bcae9d007c0283c0 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Thu, 21 Apr 2016 07:23:14 +0100 Subject: [PATCH] Add migration for Document.documentproperties ref This should have been included with a8dcbbb, which changed the related_name to access DocumentProperties from Document. (There's no actual change to the database.) --- ...elated_name_Document_documentproperties.py | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pandora/entity/migrations/0004_related_name_Document_documentproperties.py diff --git a/pandora/entity/migrations/0004_related_name_Document_documentproperties.py b/pandora/entity/migrations/0004_related_name_Document_documentproperties.py new file mode 100644 index 00000000..612d315f --- /dev/null +++ b/pandora/entity/migrations/0004_related_name_Document_documentproperties.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.4 on 2016-04-21 06:23 +from __future__ import unicode_literals + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('entity', '0003_documentproperties_data'), + ] + + operations = [ + migrations.AlterField( + model_name='documentproperties', + name='document', + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='documentproperties', to='document.Document'), + ), + ]