text: # Generated by Django 2.1.1 on 2019-01-27 20:03
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('eventos', '0001_initial'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Category',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=300)),
              ],
          ),
          migrations.CreateModel(
              name='Event',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=200)),
                  ('place', models.CharField(max_length=200)),
                  ('address', models.CharField(max_length=200)),
                  ('start_date', models.DateTimeField()),
                  ('finish_date', models.DateTimeField()),
                  ('category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='eventos.Category')),
              ],
          ),
          migrations.CreateModel(
              name='Person',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=200)),
                  ('email', models.CharField(max_length=200)),
                  ('password', models.CharField(max_length=30)),
                  ('events', models.ManyToManyField(to='eventos.Event')),
              ],
          ),
          migrations.CreateModel(
              name='Type',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=200)),
              ],
          ),
          migrations.DeleteModel(
              name='Categoria',
          ),
          migrations.AddField(
              model_name='event',
              name='type',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='eventos.Type'),
          ),
      ]
  