# -*- coding: utf-8 -*-
# Generated by Django 1.9.13 on 2017-06-12 21:28
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('aims', '0036_organisation_to_aims'),
        ('iati', '0016_activitysector_to_aims'),
        ('profiles_v2', '0011_organisation_to_aims'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='organisation',
            name='type',
        ),
        migrations.AlterField(
            model_name='activity',
            name='participating_organisation',
            field=models.ManyToManyField(through='iati.ActivityParticipatingOrganisation', to='aims.Organisation'),
        ),
        migrations.AlterField(
            model_name='activity',
            name='reporting_organisation',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='activity_reporting_organisation', to='aims.Organisation'),
        ),
        migrations.AlterField(
            model_name='activityparticipatingorganisation',
            name='organisation',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='aims.Organisation'),
        ),
        migrations.AlterField(
            model_name='transaction',
            name='provider_organisation',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='transaction_providing_organisation', to='aims.Organisation'),
        ),
        migrations.AlterField(
            model_name='transaction',
            name='receiver_organisation',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='transaction_receiving_organisation', to='aims.Organisation'),
        ),
        migrations.DeleteModel(
            name='Organisation',
        ),
        migrations.DeleteModel(
            name='OrganisationType',
        ),
    ]
