# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-04-15 23:21 from __future__ import unicode_literals import django.db.models.deletion from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("program", "0037_eventtype_include_in_event_list"), ] operations = [ migrations.CreateModel( name="Favorite", fields=[ ( "id", models.AutoField( auto_created=True, primary_key=True, serialize=False, verbose_name="ID", ), ), ( "event_instance", models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to="program.EventInstance", ), ), ( "user", models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name="favorites", to=settings.AUTH_USER_MODEL, ), ), ], ) ]