text: # Generated by Django 2.1.13 on 2020-10-08 20:34
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          ('clubs', '0006_club_slug_unique'),
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Activity',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('title', models.CharField(max_length=120, verbose_name='título')),
                  ('description', models.TextField(verbose_name='descripción')),
                  ('start', models.DateTimeField(verbose_name='inicio')),
                  ('end', models.DateTimeField(verbose_name='fin')),
                  ('club', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='clubs.Club', verbose_name='club organizador')),
              ],
              options={
                  'verbose_name': 'actividad',
                  'verbose_name_plural': 'actividades',
              },
          ),
          migrations.CreateModel(
              name='Event',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('date', models.DateTimeField(verbose_name='fecha')),
              ],
              options={
                  'verbose_name': 'evento',
              },
          ),
          migrations.AddField(
              model_name='activity',
              name='event',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='sanalberto.Event', verbose_name='evento'),
          ),
          migrations.AddField(
              model_name='activity',
              name='organiser',
              field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, verbose_name='usuario organizador'),
          ),
      ]
  