mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
Fixed broken migration for plugins
This commit is contained in:
parent
42f52b7484
commit
892fde89b5
2 changed files with 18 additions and 13 deletions
|
|
@ -1,25 +1,29 @@
|
||||||
|
# Generated by Django 5.2.4 on 2025-09-13 13:51
|
||||||
|
|
||||||
from django.db import migrations, models
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
initial = True
|
initial = True
|
||||||
|
|
||||||
dependencies = []
|
dependencies = [
|
||||||
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
migrations.CreateModel(
|
migrations.CreateModel(
|
||||||
name="PluginConfig",
|
name='PluginConfig',
|
||||||
fields=[
|
fields=[
|
||||||
("id", models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name="ID")),
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||||
("key", models.CharField(max_length=128, unique=True)),
|
('key', models.CharField(max_length=128, unique=True)),
|
||||||
("name", models.CharField(max_length=255)),
|
('name', models.CharField(max_length=255)),
|
||||||
("version", models.CharField(blank=True, default="", max_length=64)),
|
('version', models.CharField(blank=True, default='', max_length=64)),
|
||||||
("description", models.TextField(blank=True, default="")),
|
('description', models.TextField(blank=True, default='')),
|
||||||
("enabled", models.BooleanField(default=False)), # merged change
|
('enabled', models.BooleanField(default=False)),
|
||||||
("ever_enabled", models.BooleanField(default=False)), # merged addition
|
('ever_enabled', models.BooleanField(default=False)),
|
||||||
("settings", models.JSONField(blank=True, default=dict)),
|
('settings', models.JSONField(blank=True, default=dict)),
|
||||||
("created_at", models.DateTimeField(auto_now_add=True)),
|
('created_at', models.DateTimeField(auto_now_add=True)),
|
||||||
("updated_at", models.DateTimeField(auto_now=True)),
|
('updated_at', models.DateTimeField(auto_now=True)),
|
||||||
],
|
],
|
||||||
)
|
),
|
||||||
]
|
]
|
||||||
|
|
|
||||||
1
apps/plugins/migrations/__init__.py
Normal file
1
apps/plugins/migrations/__init__.py
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
# This file marks the migrations package for the plugins app.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue