30 lines
1.4 KiB
Python
30 lines
1.4 KiB
Python
# Generated by Django 4.1.4 on 2023-07-24 11:15
|
|
|
|
import django.core.validators
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('atlas', '0006_casecollection_candidates_only_and_more'),
|
|
('generic', '0006_alter_ciduserexam_completed'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='SelfReview',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('comments', models.TextField(blank=True, null=True)),
|
|
('findings', models.IntegerField(blank=True, null=True, validators=[django.core.validators.MaxValueValidator(5), django.core.validators.MinValueValidator(1)])),
|
|
('interpretation', models.IntegerField(blank=True, null=True, validators=[django.core.validators.MaxValueValidator(5), django.core.validators.MinValueValidator(1)])),
|
|
('review_date', models.DateTimeField(auto_now_add=True)),
|
|
('review_update_date', models.DateTimeField(auto_now=True)),
|
|
('case', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='atlas.case')),
|
|
('user_exam', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='generic.ciduserexam')),
|
|
],
|
|
),
|
|
]
|