.
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
# Generated by Django 3.2.10 on 2022-04-01 17:49
|
||||
|
||||
import django.core.validators
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('generic', '0026_ciduser_generic_cid_cid_291418_idx'),
|
||||
('atlas', '0031_alter_casecollection_collection_type'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='casecollection',
|
||||
name='valid_users',
|
||||
field=models.ManyToManyField(blank=True, related_name='casecollection_exams', to='generic.CidUser'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='casecollection',
|
||||
name='collection_type',
|
||||
field=models.CharField(choices=[('REV', 'Review'), ('REP', 'Report')], default='REP', max_length=3),
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name='CidReportAnswer',
|
||||
fields=[
|
||||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('answer', models.TextField(blank=True)),
|
||||
('cid', models.BigIntegerField(help_text='Candidate ID')),
|
||||
('created', models.DateTimeField(auto_now_add=True)),
|
||||
('updated', models.DateTimeField(auto_now=True)),
|
||||
('score', models.IntegerField(blank=True, null=True, validators=[django.core.validators.MaxValueValidator(10), django.core.validators.MinValueValidator(0)])),
|
||||
('question', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='atlas.casedetail')),
|
||||
],
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user