# Generated by Django 3.2 on 2021-04-22 09:29

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


class Migration(migrations.Migration):

    dependencies = [
        ('user', '0004_alter_profile_name'),
        ('dataset', '0005_keyword_squashed_0006_remove_keyword_relevancy'),
    ]

    operations = [
        migrations.CreateModel(
            name='Comment',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('deleted', models.BooleanField(default=False, help_text='Si le commentaire a été supprimé.')),
                ('content', models.CharField(help_text='Le contenu du commentaire.', max_length=256)),
                ('posted_at', models.DateTimeField(help_text='Quand le commentaire a été posté.')),
                ('author', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='comments', to='user.profile')),
                ('dataset', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='comments', to='dataset.proxydataset')),
            ],
        ),
    ]

# Generated by Django 3.2 on 2021-04-22 09:29

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


class Migration(migrations.Migration):

    dependencies = [
        ('user', '0004_alter_profile_name'),
        ('dataset', '0005_keyword_squashed_0006_remove_keyword_relevancy'),
    ]

    operations = [
        migrations.CreateModel(
            name='Comment',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('deleted', models.BooleanField(default=False, help_text='Si le commentaire a été supprimé.')),
                ('content', models.CharField(help_text='Le contenu du commentaire.', max_length=256)),
                ('posted_at', models.DateTimeField(help_text='Quand le commentaire a été posté.')),
                ('author', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='comments', to='user.profile')),
                ('dataset', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='comments', to='dataset.proxydataset')),
            ],
        ),
    ]

# Generated by Django 3.2 on 2021-04-22 09:29