# Generated by Django 3.2.5 on 2021-07-20 08:35

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),
        ('publications', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='publications',
            name='owner',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='post_owner', to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='publicationimages',
            name='publication',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='post_images', to='publications.publications'),
        ),
        migrations.AddField(
            model_name='likes',
            name='publication',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='post_likes', to='publications.publications'),
        ),
        migrations.AddField(
            model_name='likes',
            name='user',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='likes_from_user', to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='comments',
            name='owner',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='user_comments', to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='comments',
            name='publication',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='post_comments', to='publications.publications'),
        ),
    ]

22d409e72e883286a98be71020289305ff214082
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    initial = True
    dependencies = [migrations.swappable_dependency(settings.
        AUTH_USER_MODEL), ('publications', '0001_initial')]
    operations = [migrations.AddField(model_name='publications', name=
        'owner', field=models.ForeignKey(on_delete=django.db.models.
        deletion.CASCADE, related_name='post_owner', to=settings.
        AUTH_USER_MODEL)), migrations.AddField(model_name=
        'publicationimages', name='publication', field=models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, related_name=
        'post_images', to='publications.publications')), migrations.
        AddField(model_name='likes', name='publication', field=models.
        ForeignKey(on_delete=django.db.models.deletion.CASCADE,
        related_name='post_likes', to='publications.publications')),
        migrations.AddField(model_name='likes', name='user', field=models.
        ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL,
        related_name='likes_from_user', to=settings.AUTH_USER_MODEL)),
        migrations.AddField(model_name='comments', name='owner', field=
        models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
        related_name='user_comments', to=settings.AUTH_USER_MODEL)),
        migrations.AddField(model_name='comments', name='publication',
        field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
        related_name='post_comments', to='publications.publications'))]

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), ('publications', '0001_initial')]
    operations = [migrations.AddField(model_name='publications', name=
        'owner', field=models.ForeignKey(on_delete=django.db.models.
        deletion.CASCADE, related_name='post_owner', to=settings.
        AUTH_USER_MODEL)), migrations.AddField(model_name=
        'publicationimages', name='publication', field=models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, related_name=
        'post_images', to='publications.publications')), migrations.
        AddField(model_name='likes', name='publication', field=models.
        ForeignKey(on_delete=django.db.models.deletion.CASCADE,
        related_name='post_likes', to='publications.publications')),
        migrations.AddField(model_name='likes', name='user', field=models.
        ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL,
        related_name='likes_from_user', to=settings.AUTH_USER_MODEL)),
        migrations.AddField(model_name='comments', name='owner', field=
        models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
        related_name='user_comments', to=settings.AUTH_USER_MODEL)),
        migrations.AddField(model_name='comments', name='publication',
        field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE,
        related_name='post_comments', to='publications.publications'))]

# Generated by Django 3.2.5 on 2021-07-20 08:35

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),
        ('publications', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='publications',
            name='owner',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='post_owner', to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='publicationimages',
            name='publication',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='post_images', to='publications.publications'),
        ),
        migrations.AddField(
            model_name='likes',
            name='publication',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='post_likes', to='publications.publications'),
        ),
        migrations.AddField(
            model_name='likes',
            name='user',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='likes_from_user', to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='comments',
            name='owner',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='user_comments', to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='comments',
            name='publication',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='post_comments', to='publications.publications'),
        ),
    ]
