Files
penracourses/atlas/migrations/0072_casedisplayset.py
2025-06-30 13:04:05 +01:00

28 lines
1.1 KiB
Python

# Generated by Django 5.1.4 on 2025-06-30 12:03
import django.db.models.deletion
import generic.mixins
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('atlas', '0071_casedetail_default_viewerstate'),
]
operations = [
migrations.CreateModel(
name='CaseDisplaySet',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(help_text='Name of the display set', max_length=255)),
('description', models.TextField(blank=True, help_text='Description of the display set')),
('viewerstate', models.JSONField(blank=True, help_text='Viewer state for the display set', null=True)),
('annotations', models.JSONField(blank=True, help_text='Annotations for the display set', null=True)),
('case', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='atlas.case')),
],
bases=(models.Model, generic.mixins.AuthorMixin),
),
]