# Generated by Django 3.2 on 2021-09-30 20:04

import cloudinary.models
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('hoods', '0002_auto_20210930_2001'),
    ]

    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=200)),
                ('date_posted', models.DateTimeField(auto_now_add=True, verbose_name='date joined')),
                ('content', models.TextField()),
                ('image', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')),
                ('hood', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='hoods.hood')),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='hoods.users')),
            ],
        ),
    ]
