feature/tests #18

Merged
s470631 merged 8 commits from feature/tests into master 2021-12-12 23:36:29 +01:00
2 changed files with 41 additions and 0 deletions
Showing only changes of commit 9fd11ead35 - Show all commits

View File

@ -0,0 +1,21 @@
# Generated by Django 3.2.9 on 2021-12-11 22:36
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Category',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(default='', max_length=200)),
],
),
]

View File

@ -0,0 +1,20 @@
# Generated by Django 3.2.9 on 2021-12-11 22:36
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('categories', '0001_initial'),
('trials', '0004_remove_test_category'),
]
operations = [
migrations.AddField(
model_name='test',
name='category',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='tests', to='categories.category'),
),
]