@@ -0,0 +1,528 @@
+# -*- coding: utf-8 -*-%0Afrom __future__ import unicode_literals%0A%0Afrom django.db import migrations%0A%0A%0Aclass Migration(migrations.Migration):%0A%0A    dependencies = %5B%0A        ('elections', '0045_auto_20181001_1437'),%0A    %5D%0A%0A    operations = %5B%0A        # assume all elections that already exist are approved%0A        migrations.RunSQL(%22%22%22%0A            UPDATE elections_election SET suggested_status='approved'%0A        %22%22%22,%0A        reverse_sql=%22%22%22%0A            UPDATE elections_election SET suggested_status='suggested'%0A        %22%22%22),%0A    %5D%0A

add data migration to set existing elections to approved