# Generated by Django 3.2.4 on 2023-03-16 01:38

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='News',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=250, verbose_name='Title')),
                ('url', models.CharField(max_length=500, verbose_name='Url')),
                ('topic', models.CharField(max_length=100, verbose_name='Topic')),
                ('date', models.CharField(max_length=50, verbose_name='Date')),
                ('source', models.CharField(blank=True, max_length=100, verbose_name='Source')),
                ('community', models.CharField(max_length=100, verbose_name='Community')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
            ],
            options={
                'verbose_name': 'News',
                'verbose_name_plural': 'News',
                'ordering': ('-title',),
            },
        ),
    ]
