# -*- coding: utf-8 -*-
# Generated by Django 1.9.13 on 2017-07-22 08:34
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        ('iati', '0017_organisation_to_aims'),
        ('aims', '0039_iati_to_aims'),
    ]

    operations = [
        migrations.DeleteModel(
            name='ActivityDateType',
        ),
        migrations.AlterField(
            model_name='activity',
            name='policy_marker',
            field=models.ManyToManyField(through='iati.ActivityPolicyMarker', to='aims.PolicyMarker'),
        ),
        migrations.AlterField(
            model_name='activitypolicymarker',
            name='policy_marker',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='aims.PolicyMarker'),
        ),
        migrations.AlterField(
            model_name='activity',
            name='default_currency',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='default_currency', to='aims.Currency'),
        ),
        migrations.AlterField(
            model_name='activity',
            name='total_budget_currency',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='total_budget_currency', to='aims.Currency'),
        ),
        migrations.AlterField(
            model_name='budget',
            name='currency',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='aims.Currency'),
        ),
        migrations.AlterField(
            model_name='crsaddloanstatus',
            name='currency',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='aims.Currency'),
        ),
        migrations.AlterField(
            model_name='ffsforecast',
            name='currency',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='aims.Currency'),
        ),
        migrations.AlterField(
            model_name='planneddisbursement',
            name='currency',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='aims.Currency'),
        ),
        migrations.AlterField(
            model_name='transaction',
            name='currency',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='aims.Currency'),
        ),
        migrations.DeleteModel(
            name='Currency',
        ),
        migrations.DeleteModel(
            name='PolicyMarker',
        ),
    ]
