32 lines
1.0 KiB
Python
32 lines
1.0 KiB
Python
# Generated by Django 5.2.17 on 2026-09-15 10:31
|
|
|
|
import uuid
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='SystemSetting',
|
|
fields=[
|
|
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
|
('created_at', models.DateTimeField(auto_now_add=True, db_index=True)),
|
|
('updated_at', models.DateTimeField(auto_now=True)),
|
|
('key', models.CharField(max_length=200, unique=True)),
|
|
('value', models.JSONField(blank=True, default=dict)),
|
|
('category', models.CharField(blank=True, db_index=True, max_length=100)),
|
|
('is_secret', models.BooleanField(default=False)),
|
|
('description', models.CharField(blank=True, max_length=255)),
|
|
],
|
|
options={
|
|
'ordering': ['key'],
|
|
},
|
|
),
|
|
]
|