34 lines
1.1 KiB
Python
34 lines
1.1 KiB
Python
# Generated by Django 4.1.7 on 2023-09-23 13:56
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('web', '0004_alter_customuser_vk_id_alter_customuser_yandex_id'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Config',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.TextField()),
|
|
('data', models.JSONField(default=dict)),
|
|
('project', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='web.project')),
|
|
],
|
|
),
|
|
migrations.AddIndex(
|
|
model_name='config',
|
|
index=models.Index(fields=['project'], name='configs_con_project_8236d6_idx'),
|
|
),
|
|
migrations.AddIndex(
|
|
model_name='config',
|
|
index=models.Index(fields=['project', 'name'], name='configs_con_project_2e12ee_idx'),
|
|
),
|
|
]
|