# Generated by Django 1.11.11 on 2018-03-29 11:56

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


class Migration(migrations.Migration):

    dependencies = [
        ('warehouse', '0025_app_status_fixes'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='appstatusformstaging',
            name='app_id',
        ),
        migrations.RemoveField(
            model_name='appstatusformstaging',
            name='user_id',
        ),
        migrations.RemoveField(
            model_name='appstatussynclogstaging',
            name='sync_build_version',
        ),
        migrations.RemoveField(
            model_name='appstatussynclogstaging',
            name='user_id',
        ),
        migrations.AddField(
            model_name='applicationstatusfact',
            name='app_dim',
            field=models.ForeignKey(default=0, on_delete=django.db.models.deletion.PROTECT, to='warehouse.ApplicationDim'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='applicationstatusfact',
            name='user_dim',
            field=models.ForeignKey(default=0, on_delete=django.db.models.deletion.PROTECT, to='warehouse.UserDim'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='appstatusformstaging',
            name='app_dim',
            field=models.ForeignKey(default=0, on_delete=django.db.models.deletion.PROTECT, to='warehouse.ApplicationDim'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='appstatusformstaging',
            name='user_dim',
            field=models.ForeignKey(default=0, on_delete=django.db.models.deletion.PROTECT, to='warehouse.UserDim'),
            preserve_default=False,
        ),
        migrations.AddField(
            model_name='appstatussynclogstaging',
            name='user_dim',
            field=models.ForeignKey(default=0, on_delete=django.db.models.deletion.PROTECT, to='warehouse.UserDim'),
            preserve_default=False,
        ),
        migrations.AlterUniqueTogether(
            name='applicationstatusfact',
            unique_together=set([('app_dim', 'user_dim')]),
        ),
        migrations.RemoveField(
            model_name='applicationstatusfact',
            name='app_id',
        ),
        migrations.RemoveField(
            model_name='applicationstatusfact',
            name='last_sync_log_app_build_version',
        ),
        migrations.RemoveField(
            model_name='applicationstatusfact',
            name='user_id',
        ),
    ]
