# Generated by Django 5.2.9 on 2025-12-24 19:48

import django.db.models.deletion
from django.conf import settings
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='JsonToType',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=254, verbose_name='Başlık')),
                ('json_data', models.JSONField(verbose_name='Json Veri')),
                ('type_data', models.TextField(verbose_name='Type Veri')),
                ('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ı')),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='json_to_type_user', to=settings.AUTH_USER_MODEL, verbose_name='Kullanıcı')),
            ],
            options={
                'verbose_name': 'Json To Type',
                'verbose_name_plural': 'Json To Type',
                'db_table': 'json_to_type',
                'ordering': ['-updated_at'],
            },
        ),
    ]
