.
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
# Generated by Django 3.2.10 on 2022-04-21 16:45
|
||||||
|
|
||||||
|
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', '0039_auto_20220408_2357'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='casecollection',
|
||||||
|
name='group',
|
||||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='generic.cidusergroup'),
|
||||||
|
),
|
||||||
|
]
|
||||||
+2
-1
@@ -38,6 +38,7 @@ from anatomy.models import Modality
|
|||||||
from generic.models import (
|
from generic.models import (
|
||||||
CidUser,
|
CidUser,
|
||||||
CidUserExam,
|
CidUserExam,
|
||||||
|
CidUserGroup,
|
||||||
Examination,
|
Examination,
|
||||||
# Condition,
|
# Condition,
|
||||||
ExamBase,
|
ExamBase,
|
||||||
@@ -650,7 +651,7 @@ class CaseCollection(models.Model):
|
|||||||
CidUser, blank=True, related_name="casecollection_exams"
|
CidUser, blank=True, related_name="casecollection_exams"
|
||||||
)
|
)
|
||||||
|
|
||||||
group = models.ForeignKey("CidUserGroup", on_delete=models.SET_NULL, null=True, blank=True)
|
group = models.ForeignKey(CidUserGroup, on_delete=models.SET_NULL, null=True, blank=True)
|
||||||
|
|
||||||
|
|
||||||
archive = models.BooleanField(default=False)
|
archive = models.BooleanField(default=False)
|
||||||
|
|||||||
Reference in New Issue
Block a user