<filename>k8s/images/codalab/apps/coopetitions/migrations/0002_auto_20200716_1850.py
# -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2020-07-16 18:50
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('web', '0001_initial'),
        ('coopetitions', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='like',
            name='submission',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='likes', to='web.CompetitionSubmission'),
        ),
        migrations.AddField(
            model_name='like',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='downloadrecord',
            name='submission',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='downloads', to='web.CompetitionSubmission'),
        ),
        migrations.AddField(
            model_name='downloadrecord',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='dislike',
            name='submission',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='dislikes', to='web.CompetitionSubmission'),
        ),
        migrations.AddField(
            model_name='dislike',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
        migrations.AlterUniqueTogether(
            name='like',
            unique_together=set([('submission', 'user')]),
        ),
        migrations.AlterUniqueTogether(
            name='downloadrecord',
            unique_together=set([('submission', 'user')]),
        ),
        migrations.AlterUniqueTogether(
            name='dislike',
            unique_together=set([('submission', 'user')]),
        ),
    ]

<filename>k8s/images/codalab/apps/coopetitions/migrations/0002_auto_20200716_1850.py
# -*- coding: utf-8 -*-
# Generated by Django 1.11.29 on 2020-07-16 18:50
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('web', '0001_initial'),
        ('coopetitions', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='like',
            name='submission',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='likes', to='web.CompetitionSubmission'),
        ),
        migrations.AddField(
            model_name='like',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='downloadrecord',
            name='submission',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='downloads', to='web.CompetitionSubmission'),
        ),
        migrations.AddField(
            model_name='downloadrecord',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='dislike',
            name='submission',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='dislikes', to='web.CompetitionSubmission'),
        ),
        migrations.AddField(
            model_name='dislike',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
        migrations.AlterUniqueTogether(
            name='like',
            unique_together=set([('submission', 'user')]),
        ),
        migrations.AlterUniqueTogether(
            name='downloadrecord',
            unique_together=set([('submission', 'user')]),
        ),
        migrations.AlterUniqueTogether(
            name='dislike',
            unique_together=set([('submission', 'user')]),
        ),
    ]

# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2020-07-16 18:50