update rcr migration app

This commit is contained in:
Ross
2023-11-12 18:58:45 +00:00
parent 0fad480db4
commit b7fb96633e
10 changed files with 179 additions and 11 deletions
@@ -0,0 +1,26 @@
# Generated by Django 4.1.4 on 2023-11-12 18:55
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('rcr', '0003_outcome_item_assessed_by_item_assessed_date_and_more'),
]
operations = [
migrations.CreateModel(
name='OutcomeReason',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('reason', models.CharField(max_length=255)),
],
),
migrations.AddField(
model_name='item',
name='outcome_reason',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='rcr.outcomereason'),
),
]