- 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>
38 lines
1.2 KiB
Python
38 lines
1.2 KiB
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 = [
|
|
('dashboard', '0001_initial'),
|
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='post',
|
|
name='owner',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='posts', to=settings.AUTH_USER_MODEL),
|
|
),
|
|
migrations.AddField(
|
|
model_name='post',
|
|
name='shared_with',
|
|
field=models.ManyToManyField(blank=True, related_name='shared_posts', to=settings.AUTH_USER_MODEL),
|
|
),
|
|
migrations.AddField(
|
|
model_name='line',
|
|
name='post',
|
|
field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, related_name='lines', to='dashboard.post'),
|
|
),
|
|
migrations.AlterUniqueTogether(
|
|
name='line',
|
|
unique_together={('post', 'text')},
|
|
),
|
|
]
|