8 Phases refactor

This commit is contained in:
IGNY8 VPS (Salman)
2025-12-03 16:08:02 +00:00
parent 30bbcb08a1
commit 39df00e5ae
55 changed files with 2120 additions and 5527 deletions

View File

@@ -0,0 +1,24 @@
# Generated migration to fix cluster name uniqueness
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('planner', '0006_unified_status_refactor'),
]
operations = [
# Remove the old unique constraint on name field
migrations.AlterField(
model_name='clusters',
name='name',
field=models.CharField(db_index=True, max_length=255),
),
# Add unique_together constraint for name, site, sector
migrations.AlterUniqueTogether(
name='clusters',
unique_together={('name', 'site', 'sector')},
),
]