36 lines
1.1 KiB
Python
36 lines
1.1 KiB
Python
# Generated by Django 5.1.4 on 2026-04-06 03:08
|
|
|
|
import django.db.models.deletion
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('splats', '0001_initial'),
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='splat',
|
|
name='owner',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='splats', to=settings.AUTH_USER_MODEL),
|
|
),
|
|
migrations.AddIndex(
|
|
model_name='splat',
|
|
index=models.Index(fields=['owner', 'status'], name='splats_owner_i_939cfa_idx'),
|
|
),
|
|
migrations.AddIndex(
|
|
model_name='splat',
|
|
index=models.Index(fields=['challenge', 'is_published'], name='splats_challen_c6ea3d_idx'),
|
|
),
|
|
migrations.AddIndex(
|
|
model_name='splat',
|
|
index=models.Index(fields=['created_at'], name='splats_created_695e22_idx'),
|
|
),
|
|
]
|