# Generated by Django 3.1.6 on 2021-02-18 10:48

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Category',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(default='Easy', max_length=20)),
            ],
        ),
        migrations.CreateModel(
            name='Problem',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=50)),
                ('description', models.TextField(max_length=10000)),
                ('points', models.IntegerField(default=100)),
                ('test_case', models.TextField(max_length=10000, null=set)),
                ('hidden_test_cases', models.TextField(max_length=10000000, null=set)),
                ('constraints', models.TextField(max_length=1000, null=set)),
                ('category', models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='problemset.category')),
            ],
        ),
    ]
