# Generated by Django 6.0 on 2026-01-13 11:32

import autoslug.fields
import core.utils
import imagekit.models.fields
import tinymce.models
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('home', '0007_alter_aboutme_counter_active_alter_aboutme_is_active'),
    ]

    operations = [
        migrations.CreateModel(
            name='MyService',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=254, verbose_name='İsim Soyisim ')),
                ('content', tinymce.models.HTMLField(blank=True, null=True, verbose_name='İçerik')),
                ('image', imagekit.models.fields.ProcessedImageField(blank=True, null=True, upload_to=core.utils.UniquePathAndRename('uploads/post'))),
                ('slug', autoslug.fields.AutoSlugField(blank=True, editable=True, max_length=250, populate_from='name', unique=True)),
                ('created_at', models.DateTimeField(auto_now_add=True, verbose_name='Oluşturulma Tarihi')),
                ('updated_at', models.DateTimeField(auto_now=True, verbose_name='Güncelleme Tarihi')),
                ('is_active', models.BooleanField(choices=[(True, 'Evet'), (False, 'Hayır')], default=False, verbose_name='Yayındamı ?')),
            ],
            options={
                'verbose_name': 'Servis',
                'verbose_name_plural': 'Servislerim',
                'db_table': 'services',
                'ordering': ['created_at'],
                'unique_together': {('slug',)},
            },
        ),
    ]
