aboutsummaryrefslogtreecommitdiff
path: root/authentication/migrations/0004_anonymouscommentuser_alter_userprofile_options.py
blob: c78fd875856c6a2af43fa1b097335d7432df6997 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Generated by Django 5.2.1 on 2025-08-29 06:16

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('authentication', '0003_alter_userprofile_user'),
    ]

    operations = [
        migrations.CreateModel(
            name='AnonymousCommentUser',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=32)),
                ('email', models.CharField(max_length=32, unique=True)),
                ('token', models.CharField(max_length=128, unique=True)),
                ('avatar', models.URLField(blank=True)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
            ],
            options={
                'verbose_name': 'Anonymous Comment User',
                'verbose_name_plural': 'Anonymous Comment Users',
            },
        ),
        migrations.AlterModelOptions(
            name='userprofile',
            options={'verbose_name': 'User Profile', 'verbose_name_plural': 'User Profiles'},
        ),
    ]