# Generated by Django 5.1.2 on 2024-10-22 20:31 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Event', fields=[ ('created_at', models.DateTimeField(auto_now_add=True, null=True)), ('updated_at', models.DateTimeField(auto_now=True, null=True)), ('active', models.BooleanField(default=True)), ('id', models.AutoField(primary_key=True, serialize=False)), ('name', models.TextField()), ('start_date', models.DateTimeField()), ('end_date', models.DateTimeField()), ('participants', models.IntegerField()), ], options={ 'db_table': 'events', }, ), migrations.CreateModel( name='Availability', fields=[ ('created_at', models.DateTimeField(auto_now_add=True, null=True)), ('updated_at', models.DateTimeField(auto_now=True, null=True)), ('active', models.BooleanField(default=True)), ('id', models.AutoField(primary_key=True, serialize=False)), ('user', models.TextField()), ('time_table', models.JSONField()), ('event_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='web.event')), ], options={ 'db_table': 'availabilities', }, ), ]