initial commit
Some checks failed
Backend CI/CD / test (push) Has been cancelled
Backend CI/CD / deploy (push) Has been cancelled

This commit is contained in:
2026-05-19 20:53:08 +03:30
commit 88b793ed9f
169 changed files with 16763 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
# Generated by Django 5.2.5 on 2025-10-16 12:07
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
('events', '0002_initial'),
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.AddField(
model_name='registration',
name='user',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='event_registrations', to=settings.AUTH_USER_MODEL),
),
migrations.AddIndex(
model_name='event',
index=models.Index(fields=['status', 'start_time'], name='events_even_status_189ced_idx'),
),
migrations.AddIndex(
model_name='event',
index=models.Index(fields=['event_type'], name='events_even_event_t_a87b5c_idx'),
),
migrations.AddIndex(
model_name='registration',
index=models.Index(fields=['event', 'status'], name='events_regi_event_i_c98244_idx'),
),
migrations.AddIndex(
model_name='registration',
index=models.Index(fields=['user'], name='events_regi_user_id_a0262e_idx'),
),
]