Files
workdock-platform/backend/workflows/migrations/0038_portalappconfig.py
2026-03-26 11:59:06 +01:00

36 lines
1.6 KiB
Python

# Generated by Django 5.1.5 on 2026-03-26 10:48
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('workflows', '0037_alter_portalbranding_logo_image_and_more'),
]
operations = [
migrations.CreateModel(
name='PortalAppConfig',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('key', models.CharField(max_length=80, unique=True)),
('section', models.CharField(choices=[('app', 'Apps'), ('platform', 'Platform Apps'), ('admin', 'Admin Apps')], default='app', max_length=20)),
('sort_order', models.PositiveIntegerField(default=0)),
('is_enabled', models.BooleanField(default=True)),
('title_override', models.CharField(blank=True, max_length=255)),
('title_override_en', models.CharField(blank=True, max_length=255)),
('description_override', models.TextField(blank=True)),
('description_override_en', models.TextField(blank=True)),
('action_label_override', models.CharField(blank=True, max_length=255)),
('action_label_override_en', models.CharField(blank=True, max_length=255)),
('updated_at', models.DateTimeField(auto_now=True)),
],
options={
'verbose_name': 'Portal App',
'verbose_name_plural': 'Portal Apps',
'ordering': ['section', 'sort_order', 'key'],
},
),
]