# Generated by Django 4.2.20 on 2025-05-14 18:10

import datetime
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='AboutSection',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('about_title', models.TextField(blank=True, default='Enter the About Title ', help_text='Enter the About Title text here.', null=True, validators=[django.core.validators.MaxLengthValidator(500)], verbose_name='Luminant Cross Title')),
                ('mission', models.TextField(default='Enter the Mission', help_text='Enter the Mission text here.', validators=[django.core.validators.MaxLengthValidator(500)], verbose_name='Luminant Cross Mission')),
                ('vision', models.TextField(default='Enter the Vision', help_text="Enter the 'Vision' text here.", validators=[django.core.validators.MaxLengthValidator(500)], verbose_name='Luminant Cross Vision')),
                ('description', models.TextField(default='Enter the Description', help_text="Enter the 'About Description' text here.", validators=[django.core.validators.MaxLengthValidator(500)], verbose_name='Luminant Cross Description')),
                ('about_page_background_image', models.ImageField(blank=True, help_text='Upload a background image for the About page.', null=True, upload_to='about_background_images/', verbose_name='About Page Background Image')),
            ],
        ),
        migrations.CreateModel(
            name='Church',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=200, unique=True)),
                ('church_logo', models.ImageField(blank=True, null=True, upload_to='church_logos/')),
                ('about', models.TextField()),
                ('expectations', models.TextField(blank=True, null=True)),
                ('address', models.CharField(max_length=200)),
                ('city', models.CharField(max_length=100)),
                ('state', models.CharField(max_length=100)),
                ('country', models.CharField(max_length=100)),
                ('postal_code', models.CharField(blank=True, max_length=20, null=True)),
                ('latitude', models.TextField(blank=True, null=True)),
                ('longitude', models.TextField(blank=True, null=True)),
                ('email', models.EmailField(max_length=254)),
                ('phone', models.CharField(blank=True, max_length=20, null=True)),
                ('website', models.URLField(blank=True, null=True)),
                ('social_media', models.TextField(blank=True, null=True)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('is_approved', models.BooleanField(default=False)),
            ],
        ),
        migrations.CreateModel(
            name='HomepageSection',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('homepage_background_image', models.ImageField(blank=True, help_text='Upload a background image for the Homepage.', null=True, upload_to='homepage_background_images/', verbose_name='Homepage Page Background Image')),
                ('homepage_daily_scripture', models.TextField(default='Do not be anxious about anything, but in every situation, by prayer and petition, with thanksgiving, present your requests to God. And the peace of God, which transcends all understanding, will guard your hearts and your minds in Christ Jesus')),
                ('homepage_daily_scripture_bible_reading', models.TextField(default='Philippians 4:6-7 (NIV)')),
            ],
        ),
        migrations.CreateModel(
            name='ServiceTime',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('day', models.CharField(choices=[('Sunday', 'Sunday'), ('Monday', 'Monday'), ('Tuesday', 'Tuesday'), ('Wednesday', 'Wednesday'), ('Thursday', 'Thursday'), ('Friday', 'Friday'), ('Saturday', 'Saturday')], max_length=10)),
                ('start_time', models.TimeField()),
                ('end_time', models.TimeField()),
                ('service_type', models.CharField(blank=True, max_length=100, null=True)),
                ('church', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='service_times', to='luminascrossApp.church')),
            ],
        ),
        migrations.CreateModel(
            name='Leader',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=100)),
                ('position', models.CharField(max_length=100)),
                ('description', models.TextField(blank=True, null=True)),
                ('leader_image', models.ImageField(blank=True, null=True, upload_to='leader_images/')),
                ('church', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='leaders', to='luminascrossApp.church')),
            ],
        ),
        migrations.CreateModel(
            name='ChurchComment',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('unique_id', models.CharField(editable=False, max_length=20)),
                ('senders_name', models.CharField(max_length=100)),
                ('senders_comment', models.TextField()),
                ('senders_rating', models.PositiveSmallIntegerField()),
                ('date_submitted', models.DateField(default=datetime.date.today)),
                ('church', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='church_comment', to='luminascrossApp.church')),
            ],
        ),
    ]
