26 lines
854 B
Python
26 lines
854 B
Python
|
|
# Generated by Django 6.0 on 2025-12-16 18:42
|
||
|
|
|
||
|
|
import django.db.models.deletion
|
||
|
|
from django.db import migrations, models
|
||
|
|
|
||
|
|
|
||
|
|
class Migration(migrations.Migration):
|
||
|
|
|
||
|
|
dependencies = [
|
||
|
|
('api', '0003_aspect'),
|
||
|
|
]
|
||
|
|
|
||
|
|
operations = [
|
||
|
|
migrations.CreateModel(
|
||
|
|
name='BuildOfDay',
|
||
|
|
fields=[
|
||
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
|
('date', models.DateField(unique=True)),
|
||
|
|
('skill_build', models.JSONField(default=dict)),
|
||
|
|
('aspect', models.CharField(blank=True, max_length=200, null=True)),
|
||
|
|
('hero', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.hero')),
|
||
|
|
('items', models.ManyToManyField(to='api.item')),
|
||
|
|
],
|
||
|
|
),
|
||
|
|
]
|