# Generated by Django 5.2.5 on 2025-09-01 07:37 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='SystemSettings', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('access_password_hash', models.CharField(help_text='Hashed password for system access', max_length=255)), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ('is_active', models.BooleanField(default=True)), ], options={ 'verbose_name': 'System Settings', 'verbose_name_plural': 'System Settings', }, ), migrations.CreateModel( name='RoomActivityLog', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('room_id', models.CharField(db_index=True, max_length=36)), ('action', models.CharField(choices=[('created', 'Room Created'), ('joined', 'User Joined'), ('left', 'User Left'), ('expired', 'Room Expired'), ('deleted', 'Room Deleted')], max_length=20)), ('timestamp', models.DateTimeField(auto_now_add=True)), ('participant_count', models.PositiveIntegerField(default=0)), ('ip_address', models.GenericIPAddressField(blank=True, null=True)), ('user_agent_hash', models.CharField(blank=True, help_text='Hashed user agent for basic analytics', max_length=64, null=True)), ], options={ 'ordering': ['-timestamp'], 'indexes': [models.Index(fields=['room_id', '-timestamp'], name='core_roomac_room_id_3e3535_idx'), models.Index(fields=['action', '-timestamp'], name='core_roomac_action_9fbe2f_idx')], }, ), ]