SOITA/trials/migrations/0007_solvedtest.py

25 lines
812 B
Python
Raw Normal View History

# Generated by Django 3.2.9 on 2022-01-22 18:28
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('trials', '0006_alter_test_category'),
]
operations = [
migrations.CreateModel(
name='SolvedTest',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('score', models.IntegerField(default=0)),
('test', models.ManyToManyField(related_name='answers', to='trials.Test')),
('user', models.ManyToManyField(related_name='answers', to=settings.AUTH_USER_MODEL)),
],
),
]