# Generated by Django 2.0.6 on 2018-08-17 08:43

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


class Migration(migrations.Migration):

    dependencies = [
        ('academy', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Problems',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=100)),
            ],
        ),
        migrations.AddField(
            model_name='user',
            name='number_of_problems',
            field=models.IntegerField(default=0),
        ),
        migrations.AddField(
            model_name='problems',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='academy.User'),
        ),
    ]
