# Generated by Django 5.2.7 on 2025-10-20 17:24

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


class Migration(migrations.Migration):

    dependencies = [
        ('web', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='ForumCategory',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now_add=True, null=True)),
                ('updated_at', models.DateTimeField(auto_now=True, null=True)),
                ('active', models.BooleanField(default=True)),
                ('title', models.CharField()),
                ('description', models.TextField()),
            ],
            options={
                'db_table': 'forum_category',
            },
        ),
        migrations.AddField(
            model_name='customuser',
            name='comments',
            field=models.TextField(default=''),
        ),
        migrations.AddField(
            model_name='customuser',
            name='description',
            field=models.TextField(default=''),
        ),
        migrations.AddField(
            model_name='customuser',
            name='rule_conf',
            field=models.BooleanField(default=True),
        ),
        migrations.CreateModel(
            name='ForumSubcategory',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now_add=True, null=True)),
                ('updated_at', models.DateTimeField(auto_now=True, null=True)),
                ('active', models.BooleanField(default=True)),
                ('title', models.CharField()),
                ('description', models.TextField()),
                ('sticky', models.BooleanField()),
                ('forum_category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='web.forumcategory')),
            ],
            options={
                'db_table': 'forum_subcategory',
            },
        ),
        migrations.CreateModel(
            name='ForumPost',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now_add=True, null=True)),
                ('updated_at', models.DateTimeField(auto_now=True, null=True)),
                ('active', models.BooleanField(default=True)),
                ('title', models.CharField()),
                ('content', models.TextField()),
                ('edited', models.BooleanField()),
                ('sticky', models.BooleanField()),
                ('created_by', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                ('forum_subcategory', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='web.forumsubcategory')),
            ],
            options={
                'db_table': 'forum_post',
            },
        ),
    ]
