@@ -0,0 +1,888 @@
+# -*- coding: utf-8 -*-%0Afrom __future__ import unicode_literals%0A%0Afrom django.db import migrations%0Afrom django.db.models import Max%0A%0Afrom datetime import datetime%0A%0A%0Adef forwards_func(apps, schema_editor):%0A    '''%0A    I accidentially deleted a citation in production.%0A    This migration adds it again.%0A    '''%0A    # Models to work with:%0A    LexemeCitation = apps.get_model('lexicon', 'LexemeCitation')%0A    # Add missing citation.%0A    LexemeCitation.objects.get_or_create(%0A        lexeme_id=23793,%0A        source_id=58,%0A        pages='',%0A        reliability='A',%0A        comment='',%0A        modified=datetime(2016, 7, 21, 12, 55, 35, 300486))%0A%0A%0Adef reverse_func(apps, schema_editor):%0A    pass%0A%0A%0Aclass Migration(migrations.Migration):%0A%0A    dependencies = %5B('lexicon', '0088_set_lexical_citation_rel_high')%5D%0A%0A    operations = %5B%0A        migrations.RunPython(forwards_func, reverse_func),%0A    %5D%0A

Add 0089_fix_citation