25 lines
930 B
Python
25 lines
930 B
Python
# Generated by Django 5.2.7 on 2026-02-06 12:34
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='ServiceSetting',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.CharField(choices=[('jellyfin', 'Jellyfin'), ('radarr', 'Radarr'), ('sonarr', 'Sonarr'), ('jellyseerr', 'Jellyseerr')], max_length=50, unique=True)),
|
|
('url', models.URLField(help_text='Base URL of the service (e.g., http://192.168.1.100:8096)')),
|
|
('api_key', models.CharField(blank=True, help_text='API Key or Token for the service', max_length=255, null=True)),
|
|
('is_active', models.BooleanField(default=True)),
|
|
],
|
|
),
|
|
]
|