# Generated by Django 3.2.13 on 2022-09-13 08:20

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


class Migration(migrations.Migration):

    dependencies = [
        ('basicknowledge', '0018_alter_basicknowledge_contents'),
    ]

    operations = [
        migrations.CreateModel(
            name='InstrumentCategory',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=255, unique=True)),
                ('background', models.CharField(max_length=7, verbose_name='background color')),
                ('foreground', models.CharField(max_length=7, verbose_name='foreground color')),
            ],
            options={
                'verbose_name_plural': 'instrument categories',
            },
        ),
        migrations.AddField(
            model_name='instrumenttype',
            name='new_category',
            field=models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.PROTECT, to='basicknowledge.instrumentcategory'),
        ),
    ]
