v0.1.4: minor fix #7
19
dispatcher/migrations/0011_alter_project_parent.py
Normal file
19
dispatcher/migrations/0011_alter_project_parent.py
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# Generated by Django 5.1.5 on 2025-04-23 20:09
|
||||||
|
|
||||||
|
import django.db.models.deletion
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('dispatcher', '0010_realsagexhours_unique_monthly_sagex'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='project',
|
||||||
|
name='parent',
|
||||||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='dispatcher.parent'),
|
||||||
|
),
|
||||||
|
]
|
@ -15,7 +15,8 @@ class Project(models.Model):
|
|||||||
parent = models.ForeignKey(
|
parent = models.ForeignKey(
|
||||||
Parent,
|
Parent,
|
||||||
on_delete=models.CASCADE,
|
on_delete=models.CASCADE,
|
||||||
null=True
|
null=True,
|
||||||
|
blank=True
|
||||||
)
|
)
|
||||||
name = models.CharField(max_length=256)
|
name = models.CharField(max_length=256)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user