- Delete all incremental migration files across all apps; regenerate 0001_initial.py per app via makemigrations (schema unchanged, no model edits) - applets/0003_seed_applets.py: all 20 Applet rows in one migration - epic/0003_seed_fiorentine_deck.py: Fiorentine Minchiate DeckVariant + 78 cards - epic/0004_seed_earthman_deck.py: Earthman DeckVariant + 50 major + 56 minor/middle arcana (106 cards); stray PENTACLES courts absent — clean from the start - epic/0005_seed_astro_reference_tables.py: 12 signs, 10 planets, 9 aspect types (incl. Semisquare + Sesquiquadrate), 12 house labels - 706 ITs green on fresh DB Code architected by Disco DeDisco <discodedisco@outlook.com> Git commit message Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
28 lines
747 B
Python
28 lines
747 B
Python
# Generated by Django 6.0 on 2026-04-28 00:59
|
|
|
|
import django.db.models.deletion
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
('applets', '0001_initial'),
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='userapplet',
|
|
name='user',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='user_applets', to=settings.AUTH_USER_MODEL),
|
|
),
|
|
migrations.AlterUniqueTogether(
|
|
name='userapplet',
|
|
unique_together={('user', 'applet')},
|
|
),
|
|
]
|