# Generated by Django 2.0.2 on 2018-02-17 12:39

from django.conf import settings
from django.db import migrations, models

import django.utils.timezone


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('talks', '0032_merge_20180206_0946'),
    ]

    operations = [
        migrations.CreateModel(
            name='TalkWatch',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created', models.DateTimeField(default=django.utils.timezone.now, verbose_name='date created')),
                ('talk', models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='talks.Talk')),
                ('user', models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'verbose_name': 'Talk Watch',
                'verbose_name_plural': 'Talks Watches',
                'ordering': ['-created'],
                'get_latest_by': '-created',
            },
        ),
        migrations.AlterUniqueTogether(
            name='talkwatch',
            unique_together={('user', 'talk')},
        ),
    ]
