v2
This commit is contained in:
25
api/migrations/0004_buildofday.py
Normal file
25
api/migrations/0004_buildofday.py
Normal file
@@ -0,0 +1,25 @@
|
||||
# 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')),
|
||||
],
|
||||
),
|
||||
]
|
||||
BIN
api/migrations/__pycache__/0004_buildofday.cpython-312.pyc
Normal file
BIN
api/migrations/__pycache__/0004_buildofday.cpython-312.pyc
Normal file
Binary file not shown.
Reference in New Issue
Block a user