23 lines
773 B
Python
23 lines
773 B
Python
# Generated by Django 5.2 on 2025-05-07 12:33
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='AllowedColor',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.CharField(choices=[('red', 'Красный'), ('green', 'Зелёный'), ('blue', 'Синий'), ('yellow', 'Жёлтый'), ('orange', 'Оранжевый'), ('black', 'Чёрный'), ('white', 'Белый')], max_length=50, unique=True)),
|
|
('allowed', models.BooleanField(default=True)),
|
|
],
|
|
),
|
|
]
|