# Generated by Django 5.0.6 on 2024-06-30 16:38

import cloudinary.models
import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('epoapp', '0001_initial'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Candidate',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=255)),
                ('village', models.CharField(choices=[('AKANATOR', 'AKANATOR'), ('AMIKWE', 'AMIKWE'), ('ATURIA', 'ATURIA'), ('ORENJA', 'ORENJA')], max_length=20)),
                ('year_participated', models.PositiveIntegerField(default=2000)),
                ('school', models.CharField(max_length=200)),
                ('category', models.CharField(choices=[('JUNIOR SECONDARY', 'JUNIOR SECONDARY'), ('SENIOR SECONDARY', 'SENIOR SECONDARY')], max_length=20)),
                ('score', models.PositiveIntegerField(default=0)),
                ('candidate_image', cloudinary.models.CloudinaryField(max_length=255, verbose_name='Epoo/candidate-images/')),
                ('description', models.TextField()),
            ],
        ),
        migrations.CreateModel(
            name='Post',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('post_tag', models.CharField(blank=True, choices=[('TECHNOLOGY', 'TECHNOLOGY'), ('AGRICULTURE', 'AGRICULTURE'), ('POLITICS', 'POLITICS'), ('EDUCATION', 'EDUCATION'), ('HEALTH', 'HEALTH'), ('ECONOMICS', 'ECONOMICS'), ('LIFESTYLE', 'LIFESTYLE'), ('ENVIRONMENT', 'ENVIRONMENT'), ('CULTURE', 'CULTURE'), ('INNOVATION', 'INNOVATION'), ('SCIENCE', 'SCIENCE'), ('CONFLICT', 'CONFLICT'), ('OTHER', 'OTHER')], max_length=20, null=True)),
                ('title', models.CharField(max_length=200)),
                ('sub_title_1', models.CharField(blank=True, max_length=200, null=True)),
                ('date', models.DateField(auto_now_add=True)),
                ('post_image_1', cloudinary.models.CloudinaryField(max_length=255, verbose_name='Epoo/posts-images/')),
                ('post_image_2', cloudinary.models.CloudinaryField(max_length=255, verbose_name='Epoo/posts-images/')),
                ('post_image_3', cloudinary.models.CloudinaryField(max_length=255, verbose_name='Epoo/posts-images/')),
                ('paragraph_1', models.TextField(max_length=350)),
                ('sub_title_2', models.CharField(help_text='This is the subtitle for the 3 paragraphs below', max_length=200)),
                ('paragraph_2', models.TextField(max_length=350)),
                ('paragraph_3', models.TextField(max_length=350)),
                ('paragraph_4', models.TextField(max_length=350)),
                ('sub_title_3', models.CharField(help_text='This is the subtitle for the last 4 paragraphs below', max_length=200)),
                ('paragraph_5', models.TextField(max_length=350)),
                ('paragraph_6', models.TextField(max_length=350)),
                ('paragraph_7', models.TextField(max_length=350)),
                ('paragraph_8', models.TextField(max_length=350)),
                ('posted_by', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='poster', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'ordering': ('-id',),
            },
        ),
        migrations.CreateModel(
            name='PostEngagement',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('comments', models.TextField()),
                ('views', models.PositiveBigIntegerField(default=0)),
                ('post', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='posts_comment', to='epoapp.post')),
            ],
        ),
        migrations.CreateModel(
            name='Scholarship',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('Scholarship_type', models.CharField(choices=[('BSC', 'BSC'), ('MSC', 'MSC'), ('PHD', 'PDD'), ('INTERNSHIP', 'INTERNSHIP'), ('FELLOWSHIP', 'FELLOWSHIP'), ('OTHER', 'OTHER')], max_length=20)),
                ('title', models.CharField(max_length=200)),
                ('date', models.DateField(auto_now_add=True)),
                ('description', models.TextField()),
                ('scholarship_image', cloudinary.models.CloudinaryField(max_length=255, verbose_name='Epoo/scholarship-images/')),
                ('scholarship_link', models.URLField(help_text='Enter the link to the Scholarship here')),
            ],
        ),
        migrations.CreateModel(
            name='SubscriberEmail',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('email', models.EmailField(max_length=255)),
            ],
        ),
        migrations.CreateModel(
            name='Team',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=20)),
                ('role', models.CharField(max_length=50)),
                ('website', models.URLField(blank=True, null=True)),
                ('linkedin_profile', models.URLField(blank=True, null=True)),
                ('facebook_profile', models.URLField(blank=True, null=True)),
                ('twitter_profile', models.URLField(blank=True, null=True)),
                ('youtube_channel', models.URLField(blank=True, null=True)),
                ('email', models.EmailField(blank=True, max_length=254, null=True)),
                ('phone', models.CharField(blank=True, max_length=20, null=True)),
                ('description', models.TextField()),
                ('profile_photo', cloudinary.models.CloudinaryField(max_length=255, verbose_name='Epoo/profile-images/')),
            ],
        ),
        migrations.DeleteModel(
            name='Todo',
        ),
    ]
