# Generated by Django 5.2.7 on 2026-02-02 00:51

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Artist',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=255)),
                ('slug', models.SlugField(unique=True)),
                ('description', models.TextField()),
                ('image_url', models.URLField(blank=True, null=True)),
                ('style', models.CharField(help_text='e.g. Rock, Metal, Blues', max_length=100)),
            ],
        ),
        migrations.CreateModel(
            name='EffectModule',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=255)),
                ('category', models.CharField(choices=[('pedal', 'Pedal'), ('amp', 'Amplifier'), ('cab', 'Cabinet'), ('rack', 'Rack Effect')], max_length=50)),
                ('description', models.TextField(blank=True)),
            ],
        ),
        migrations.CreateModel(
            name='Preset',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=255)),
                ('slug', models.SlugField(unique=True)),
                ('description', models.TextField()),
                ('is_featured', models.BooleanField(default=False)),
                ('artist', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='presets', to='core.artist')),
            ],
        ),
        migrations.CreateModel(
            name='SignalChainStep',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('order', models.PositiveIntegerField(default=0)),
                ('settings_summary', models.CharField(blank=True, help_text='e.g. Gain: 8, Bass: 4', max_length=255)),
                ('module', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.effectmodule')),
                ('preset', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='steps', to='core.preset')),
            ],
            options={
                'ordering': ['order'],
            },
        ),
    ]
