# Generated by Django 5.0.3 on 2026-05-05 03:52

import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('bengkel', '0020_blueprintpillar_pillaridea_pillarvote'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='BlueprintStrategy',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('urutan', models.PositiveIntegerField(default=0, help_text='1 hingga 6 (Mewakili 6 Fasa)')),
                ('fasa', models.CharField(help_text='Contoh: FASA 1 (2026-2030)', max_length=50, verbose_name='Label Fasa')),
                ('tajuk', models.CharField(max_length=300, verbose_name='Fokus Utama Fasa')),
                ('penerangan', models.TextField()),
                ('teras_berkaitan', models.TextField(blank=True, help_text='Teras mana yang disentuh dalam fasa ini')),
                ('generated_at', models.DateTimeField(auto_now_add=True)),
                ('bengkel', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='blueprint_strategies', to='bengkel.bengkel')),
            ],
            options={
                'verbose_name': 'Blueprint — Strategi',
                'verbose_name_plural': 'Blueprint — Strategi',
                'ordering': ['urutan'],
            },
        ),
        migrations.CreateModel(
            name='StrategyIdea',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('idea', models.TextField(verbose_name='Cadangan Inisiatif Projek')),
                ('status_ai', models.CharField(default='pending', max_length=20)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('strategi', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='ideas', to='bengkel.blueprintstrategy')),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='strategy_ideas', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'verbose_name': 'Blueprint — Idea Strategi',
                'verbose_name_plural': 'Blueprint — Idea Strategi',
                'ordering': ['-created_at'],
            },
        ),
    ]
