40 lines
2.1 KiB
Python
40 lines
2.1 KiB
Python
![]() |
# Generated by Django 5.2.6 on 2025-09-08 09:44
|
|||
|
|
|||
|
import multiselectfield.db.fields
|
|||
|
from django.db import migrations, models
|
|||
|
|
|||
|
|
|||
|
class Migration(migrations.Migration):
|
|||
|
|
|||
|
dependencies = [
|
|||
|
('risks', '0009_risk_created_at_risk_updatet_at'),
|
|||
|
]
|
|||
|
|
|||
|
operations = [
|
|||
|
migrations.AlterField(
|
|||
|
model_name='residualrisk',
|
|||
|
name='impact',
|
|||
|
field=models.IntegerField(choices=[('1', 'Low (< 1,000 € – minor operational impact)'), ('2', 'Medium (1,000–5,000 € – local impact)'), ('3', 'High (5,000–15,000 € – team-level impact)'), ('4', 'Severe (50,000–100,000 € – regional impact)'), ('5', 'Critical (> 100,000 € – existential threat)')], default=1),
|
|||
|
),
|
|||
|
migrations.AlterField(
|
|||
|
model_name='residualrisk',
|
|||
|
name='likelihood',
|
|||
|
field=models.IntegerField(choices=[('1', 'Very low – occurs less than once every 5 years'), ('2', 'Low – once every 1–5 years'), ('3', 'Likely – once per year or more'), ('4', 'Very likely – multiple times per year/monthly')], default=1),
|
|||
|
),
|
|||
|
migrations.AlterField(
|
|||
|
model_name='risk',
|
|||
|
name='cia',
|
|||
|
field=multiselectfield.db.fields.MultiSelectField(blank=True, choices=[('1', 'Confidentiality'), ('2', 'Integrity'), ('3', 'Availability')], max_length=100, null=True),
|
|||
|
),
|
|||
|
migrations.AlterField(
|
|||
|
model_name='risk',
|
|||
|
name='impact',
|
|||
|
field=models.IntegerField(choices=[('1', 'Low (< 1,000 € – minor operational impact)'), ('2', 'Medium (1,000–5,000 € – local impact)'), ('3', 'High (5,000–15,000 € – team-level impact)'), ('4', 'Severe (50,000–100,000 € – regional impact)'), ('5', 'Critical (> 100,000 € – existential threat)')], default=1),
|
|||
|
),
|
|||
|
migrations.AlterField(
|
|||
|
model_name='risk',
|
|||
|
name='likelihood',
|
|||
|
field=models.IntegerField(choices=[('1', 'Very low – occurs less than once every 5 years'), ('2', 'Low – once every 1–5 years'), ('3', 'Likely – once per year or more'), ('4', 'Very likely – multiple times per year/monthly')], default=1),
|
|||
|
),
|
|||
|
]
|