text: # Generated by Django 2.2 on 2020-10-04 08:18
  
  from django.db import migrations, models
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
      ]
  
      operations = [
          migrations.CreateModel(
              name='Category',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=50, unique=True)),
              ],
          ),
          migrations.CreateModel(
              name='Channel',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('url', models.URLField(max_length=500, unique=True)),
                  ('name', models.CharField(max_length=50)),
                  ('created_at', models.DateTimeField(auto_now_add=True)),
                  ('last_seen', models.DateTimeField()),
                  ('last_sync', models.DateTimeField()),
                  ('post_limit', models.PositiveSmallIntegerField(default=100)),
              ],
          ),
          migrations.CreateModel(
              name='Post',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('title', models.CharField(max_length=250)),
                  ('url', models.URLField(max_length=500)),
                  ('favorite', models.BooleanField(default=False)),
                  ('published', models.DateTimeField()),
                  ('created_at', models.DateTimeField(auto_now_add=True)),
              ],
          ),
      ]
  