# Generated by Django 5.2.4 on 2025-09-17 02:33 import django.db.models.deletion from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='HighScore', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('player_name', models.CharField(max_length=100)), ('score', models.DecimalField(decimal_places=2, max_digits=10)), ('days_played', models.IntegerField()), ('created_at', models.DateTimeField(auto_now_add=True)), ], options={ 'ordering': ['-score'], }, ), migrations.CreateModel( name='GameSession', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('session_key', models.CharField(blank=True, max_length=40, null=True)), ('day', models.IntegerField(default=1)), ('cash', models.DecimalField(decimal_places=2, default=2000.0, max_digits=10)), ('debt', models.DecimalField(decimal_places=2, default=5500.0, max_digits=10)), ('location', models.CharField(default='Downtown', max_length=50)), ('inventory', models.TextField(default='{}')), ('capacity', models.IntegerField(default=100)), ('high_score', models.DecimalField(decimal_places=2, default=0, max_digits=10)), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]