migration
This commit is contained in:
parent
773dd783ae
commit
a469c6708f
25
trials/migrations/0008_auto_20220122_1934.py
Normal file
25
trials/migrations/0008_auto_20220122_1934.py
Normal file
@ -0,0 +1,25 @@
|
||||
# Generated by Django 3.2.9 on 2022-01-22 18:34
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
('trials', '0007_solvedtest'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='solvedtest',
|
||||
name='test',
|
||||
field=models.ManyToManyField(null=True, related_name='answers', to='trials.Test'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='solvedtest',
|
||||
name='user',
|
||||
field=models.ManyToManyField(null=True, related_name='answers', to=settings.AUTH_USER_MODEL),
|
||||
),
|
||||
]
|
34
trials/migrations/0009_auto_20220122_1942.py
Normal file
34
trials/migrations/0009_auto_20220122_1942.py
Normal file
@ -0,0 +1,34 @@
|
||||
# Generated by Django 3.2.9 on 2022-01-22 18:42
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
('trials', '0008_auto_20220122_1934'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='solvedtest',
|
||||
name='test',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='solvedtest',
|
||||
name='test',
|
||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='answers', to='trials.test'),
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='solvedtest',
|
||||
name='user',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='solvedtest',
|
||||
name='user',
|
||||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='answers', to=settings.AUTH_USER_MODEL),
|
||||
),
|
||||
]
|
Loading…
Reference in New Issue
Block a user