# -*- coding: utf-8 -*-
# Generated by Django 1.9.13 on 2017-10-13 04:29
from __future__ import unicode_literals

# from django.core.management import call_command
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('aims', '0047_migrate_total_budget'),
    ]

    operations = [
        migrations.CreateModel(
            name='TransactionFinancials',
            fields=[
                ('transaction', models.OneToOneField(on_delete=django.db.models.deletion.DO_NOTHING, primary_key=True, related_name='finance', serialize=False, to='aims.Transaction')),
                ('exchangerate', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='aims.CurrencyExchangeRate')),
            ],
            options={
                'abstract': False,
                'managed': False,
            },
        ),
        migrations.DeleteModel(
            name='transactionvalueusd',
        ),
        migrations.CreateModel(
            name='transactionvalueusd',
            options={'managed': False},
            fields=[
                ('transaction', models.OneToOneField(on_delete=django.db.models.deletion.DO_NOTHING, primary_key=True,
                                                     related_name='finance', serialize=False, to='aims.Transaction')),
                ('dollars', models.FloatField())
            ],
        )
    ]
