# Generated by Django 5.0.4 on 2025-10-11 07:29

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('app_data', '0024_alter_datainstance_data_json'),
    ]

    operations = [
        migrations.CreateModel(
            name='DataRevision',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('date', models.DateTimeField(auto_now_add=True)),
                ('classname', models.SlugField(max_length=128, verbose_name='Schema')),
                ('keyname', models.CharField(max_length=256)),
                ('username', models.CharField(blank=True, max_length=256, null=True)),
                ('action', models.CharField(blank=True, max_length=256, null=True)),
            ],
            options={
                'verbose_name': 'Data Revision',
                'verbose_name_plural': 'Data Revisions',
                'db_table': 'data_revision',
                'indexes': [models.Index(fields=['date'], name='data_revisi_date_405457_idx'), models.Index(fields=['classname', 'keyname'], name='data_revisi_classna_0db139_idx')],
            },
        ),
    ]
