# Generated by Django 2.0 on 2018-03-08 04:17

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Accolades',
            fields=[
                ('accolade_id', models.IntegerField(primary_key=True, serialize=False)),
                ('description', models.CharField(max_length=300)),
            ],
        ),
        migrations.CreateModel(
            name='ChampionItems',
            fields=[
                ('champ_id', models.IntegerField(primary_key=True, serialize=False)),
                ('item_blob', models.TextField(default='{}')),
            ],
        ),
        migrations.CreateModel(
            name='ChampionMatchups',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('champ_id', models.IntegerField()),
                ('enemy_champ_id', models.IntegerField()),
                ('role', models.CharField(max_length=50)),
                ('win_rate', models.FloatField(default=0)),
                ('kills', models.FloatField(default=0)),
                ('losses', models.FloatField(default=0)),
                ('assists', models.FloatField(default=0)),
            ],
        ),
        migrations.CreateModel(
            name='ChampionStats',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('champ_id', models.IntegerField()),
                ('total_games', models.IntegerField(default=0)),
                ('role', models.CharField(max_length=50)),
                ('skill_orders', models.TextField()),
                ('items', models.TextField()),
                ('summoners', models.TextField()),
                ('runes', models.TextField()),
            ],
        ),
        migrations.CreateModel(
            name='Items',
            fields=[
                ('item_id', models.IntegerField(primary_key=True, serialize=False)),
                ('item_type', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='Matches',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('user_id', models.IntegerField()),
                ('match_id', models.BigIntegerField()),
                ('region', models.CharField(max_length=10)),
                ('season_id', models.IntegerField(default=0)),
                ('queue_id', models.IntegerField(default=0)),
                ('timestamp', models.IntegerField(default=0)),
                ('duration', models.IntegerField(default=0)),
                ('champ_id', models.IntegerField(default=0)),
                ('participant_id', models.IntegerField(default=0)),
                ('item0', models.IntegerField(default=0)),
                ('item1', models.IntegerField(default=0)),
                ('item2', models.IntegerField(default=0)),
                ('item3', models.IntegerField(default=0)),
                ('item4', models.IntegerField(default=0)),
                ('item5', models.IntegerField(default=0)),
                ('item6', models.IntegerField(default=0)),
                ('spell0', models.IntegerField(default=0)),
                ('spell1', models.IntegerField(default=0)),
                ('kills', models.IntegerField(default=0)),
                ('deaths', models.IntegerField(default=0)),
                ('assists', models.IntegerField(default=0)),
                ('cs', models.IntegerField(default=0)),
                ('gold', models.IntegerField(default=0)),
                ('level', models.IntegerField(default=0)),
                ('wards_placed', models.IntegerField(default=0)),
                ('wards_killed', models.IntegerField(default=0)),
                ('vision_wards_bought', models.IntegerField(default=0)),
                ('game_type', models.CharField(max_length=50)),
                ('lane', models.CharField(max_length=50)),
                ('role', models.CharField(max_length=50, null=True)),
                ('team', models.IntegerField(default=0)),
                ('winner', models.IntegerField(default=0)),
                ('won', models.BooleanField(default=False)),
                ('is_remake', models.BooleanField(default=False)),
                ('red_team', models.TextField()),
                ('blue_team', models.TextField()),
                ('accolades', models.TextField()),
                ('metadata', models.TextField()),
                ('killing_spree', models.IntegerField(default=0)),
            ],
        ),
        migrations.CreateModel(
            name='MatchLawn',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('user_id', models.IntegerField()),
                ('region', models.CharField(max_length=10)),
                ('date', models.TextField()),
                ('wins', models.IntegerField(default=0)),
                ('losses', models.IntegerField(default=0)),
            ],
        ),
        migrations.CreateModel(
            name='ProfileStats',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('user_id', models.IntegerField()),
                ('region', models.CharField(max_length=10)),
                ('name', models.CharField(max_length=16)),
                ('last_updated', models.IntegerField(default=0)),
                ('last_match_updated', models.BigIntegerField(default=0)),
                ('rank_s8', models.CharField(max_length=25)),
                ('rank_s7', models.CharField(max_length=25)),
                ('wins', models.IntegerField(default=0)),
                ('losses', models.IntegerField(default=0)),
                ('level', models.IntegerField(default=0)),
                ('icon', models.IntegerField(default=0)),
                ('time_played', models.IntegerField(default=0)),
            ],
        ),
        migrations.CreateModel(
            name='UserAccolades',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('user_id', models.IntegerField()),
                ('region', models.CharField(max_length=10)),
                ('accolade_id', models.IntegerField()),
                ('accolade_value', models.IntegerField()),
            ],
        ),
        migrations.CreateModel(
            name='UserChampionItems',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('user_id', models.IntegerField()),
                ('region', models.CharField(max_length=10)),
                ('champ_id', models.IntegerField()),
                ('lane', models.CharField(max_length=50)),
                ('item_blob', models.TextField(default='{}')),
            ],
        ),
        migrations.CreateModel(
            name='UserChampionMasteries',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('user_id', models.IntegerField()),
                ('region', models.CharField(max_length=10)),
                ('champ_id', models.IntegerField()),
                ('level', models.IntegerField(default=0)),
                ('total_points', models.IntegerField(default=0)),
                ('points_since_last', models.IntegerField(default=0)),
                ('points_to_next', models.IntegerField(default=0)),
                ('chest_granted', models.BooleanField(default=False)),
            ],
        ),
        migrations.CreateModel(
            name='UserChampionRunes',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('user_id', models.IntegerField()),
                ('region', models.CharField(max_length=10)),
                ('champ_id', models.IntegerField()),
                ('lane', models.CharField(max_length=50)),
                ('rune_set', models.TextField()),
                ('occurence', models.IntegerField(default=0)),
            ],
        ),
        migrations.CreateModel(
            name='UserChampionStats',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('user_id', models.IntegerField()),
                ('region', models.CharField(max_length=10)),
                ('season_id', models.IntegerField()),
                ('champ_id', models.IntegerField()),
                ('lane', models.CharField(max_length=50)),
                ('kills', models.IntegerField(default=0)),
                ('deaths', models.IntegerField(default=0)),
                ('assists', models.IntegerField(default=0)),
                ('first_bloods', models.IntegerField(default=0)),
                ('wins', models.IntegerField(default=0)),
                ('wins20', models.IntegerField(default=0)),
                ('wins30', models.IntegerField(default=0)),
                ('wins40', models.IntegerField(default=0)),
                ('wins40p', models.IntegerField(default=0)),
                ('losses', models.IntegerField(default=0)),
                ('total_games', models.IntegerField(default=0)),
                ('total_games20', models.IntegerField(default=0)),
                ('total_games30', models.IntegerField(default=0)),
                ('total_games40', models.IntegerField(default=0)),
                ('total_games40p', models.IntegerField(default=0)),
                ('total_cs', models.IntegerField(default=0)),
                ('game_length', models.IntegerField(default=0)),
                ('pentas', models.IntegerField(default=0)),
                ('quadras', models.IntegerField(default=0)),
                ('triples', models.IntegerField(default=0)),
                ('doubles', models.IntegerField(default=0)),
                ('gold', models.IntegerField(default=0)),
                ('xp10', models.FloatField(default=0)),
                ('xp20', models.FloatField(default=0)),
                ('xp30', models.FloatField(default=0)),
                ('xp_diff10', models.FloatField(default=0)),
                ('xp_diff20', models.FloatField(default=0)),
                ('xp_diff30', models.FloatField(default=0)),
                ('gold10', models.FloatField(default=0)),
                ('gold20', models.FloatField(default=0)),
                ('gold30', models.FloatField(default=0)),
                ('cs10', models.FloatField(default=0)),
                ('cs20', models.FloatField(default=0)),
                ('cs30', models.FloatField(default=0)),
                ('cs_diff10', models.FloatField(default=0)),
                ('cs_diff20', models.FloatField(default=0)),
                ('cs_diff30', models.FloatField(default=0)),
                ('dmg_taken10', models.FloatField(default=0)),
                ('dmg_taken20', models.FloatField(default=0)),
                ('dmg_taken30', models.FloatField(default=0)),
                ('dmg_taken_diff10', models.FloatField(default=0)),
                ('dmg_taken_diff20', models.FloatField(default=0)),
                ('dmg_taken_diff30', models.FloatField(default=0)),
            ],
        ),
        migrations.CreateModel(
            name='UserChampionSummoners',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('user_id', models.IntegerField()),
                ('region', models.CharField(max_length=10)),
                ('champ_id', models.IntegerField()),
                ('lane', models.CharField(max_length=50)),
                ('summoner_set', models.TextField()),
                ('occurence', models.IntegerField(default=0)),
            ],
        ),
        migrations.CreateModel(
            name='UserChampionVersusStats',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('user_id', models.IntegerField()),
                ('region', models.CharField(max_length=10)),
                ('champ_id', models.IntegerField()),
                ('versus_blob', models.TextField(default='{}')),
            ],
        ),
        migrations.CreateModel(
            name='UserLeagues',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('user_id', models.IntegerField()),
                ('region', models.CharField(max_length=10)),
                ('queue', models.CharField(max_length=30)),
                ('tier', models.CharField(max_length=20)),
                ('division', models.CharField(max_length=10)),
                ('points', models.IntegerField(default=0)),
            ],
        ),
        migrations.AlterUniqueTogether(
            name='userleagues',
            unique_together={('user_id', 'region', 'queue')},
        ),
        migrations.AlterUniqueTogether(
            name='userchampionversusstats',
            unique_together={('user_id', 'region', 'champ_id')},
        ),
        migrations.AlterUniqueTogether(
            name='userchampionsummoners',
            unique_together={('user_id', 'region', 'champ_id', 'lane', 'summoner_set')},
        ),
        migrations.AlterUniqueTogether(
            name='userchampionstats',
            unique_together={('user_id', 'region', 'season_id', 'champ_id', 'lane')},
        ),
        migrations.AlterUniqueTogether(
            name='userchampionrunes',
            unique_together={('user_id', 'region', 'champ_id', 'lane', 'rune_set')},
        ),
        migrations.AlterUniqueTogether(
            name='userchampionmasteries',
            unique_together={('user_id', 'region', 'champ_id')},
        ),
        migrations.AlterUniqueTogether(
            name='userchampionitems',
            unique_together={('user_id', 'region', 'champ_id', 'lane')},
        ),
        migrations.AlterUniqueTogether(
            name='useraccolades',
            unique_together={('user_id', 'region', 'accolade_id')},
        ),
        migrations.AlterUniqueTogether(
            name='profilestats',
            unique_together={('user_id', 'region')},
        ),
        migrations.AlterUniqueTogether(
            name='matchlawn',
            unique_together={('user_id', 'region', 'date')},
        ),
        migrations.AlterUniqueTogether(
            name='matches',
            unique_together={('user_id', 'match_id', 'region')},
        ),
        migrations.AlterUniqueTogether(
            name='championstats',
            unique_together={('champ_id', 'role')},
        ),
        migrations.AlterUniqueTogether(
            name='championmatchups',
            unique_together={('champ_id', 'role', 'enemy_champ_id')},
        ),
    ]
