text: # Generated by Django 4.0.3 on 2022-03-21 06:41
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
          ('alerts', '0001_initial'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Post',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('title', models.CharField(max_length=100)),
                  ('photo', models.ImageField(upload_to='posts/')),
                  ('post', models.TextField(max_length=1000)),
                  ('comments', models.TextField(max_length=500)),
                  ('pub_date', models.DateTimeField(auto_now_add=True)),
                  ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
      ]
  