text: # -*- coding: utf-8 -*-
  # Generated by Django 1.11.4 on 2017-08-15 17:06
  from __future__ import unicode_literals
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  def delete_all(apps, schema_editor):
      CityHall = apps.get_model('cityhalls', 'cityhall')
      CityHall.objects.all().delete()
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('cityhalls', '0004_auto_20170815_1706'),
      ]
  
      operations = [
          migrations.RunPython(delete_all),
          migrations.AlterField(
              model_name='cityhall',
              name='original_terc',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='teryt_tree.JednostkaAdministracyjna'),
          ),
      ]
  