# Generated by Django 4.2.2 on 2023-07-14 19:38 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('posts', '0008_post_needs_update_alter_post_products'), ] operations = [ migrations.CreateModel( name='Note', fields=[ ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=400)), ('url', models.CharField(max_length=400)), ('body_markdown', models.TextField(blank=True, null=True)), ('date_created', models.DateTimeField(default=django.utils.timezone.now)), ('post', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='posts.post')), ], options={ 'ordering': ('date_created',), }, ), ]