from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
    initial=True
    dependencies=[]
    operations=[
        migrations.CreateModel(
            name='Entry',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('subject', models.TextField(blank=True)),
                ('illustration', models.TextField(blank=True)),
                ('application', models.TextField(blank=True)),
                ('scripture_raw', models.TextField(blank=True)),
                ('source', models.CharField(blank=True, max_length=255)),
                ('talk_number', models.IntegerField(blank=True, null=True)),
                ('talk_title', models.CharField(blank=True, max_length=255)),
                ('entry_code', models.CharField(blank=True, db_index=True, max_length=64)),
                ('date_added', models.DateField(blank=True, null=True)),
                ('date_edited', models.DateField(blank=True, null=True)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
            ],
        ),
        migrations.CreateModel(
            name='ScriptureRef',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('book', models.CharField(max_length=32)),
                ('chapter_from', models.IntegerField(blank=True, null=True)),
                ('verse_from', models.IntegerField(blank=True, null=True)),
                ('chapter_to', models.IntegerField(blank=True, null=True)),
                ('verse_to', models.IntegerField(blank=True, null=True)),
                ('entry', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='scripture_refs', to='core.entry')),
            ],
        ),
    ]
