forked from Fediversity/Fediversity
add missing migration
This commit is contained in:
parent
9dd92b4cc1
commit
2e72379a48
1 changed files with 27 additions and 0 deletions
|
@ -0,0 +1,27 @@
|
|||
# Generated by Django 4.2.16 on 2025-03-09 21:25
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
import pydantic.main
|
||||
|
||||
from panel.configuration import Version
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
('panel', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='configuration',
|
||||
name='value',
|
||||
field=models.JSONField(default=Version(Version.latest).model().model_dump_json, help_text='Stored configuration value'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='configuration',
|
||||
name='version',
|
||||
field=models.JSONField(default=pydantic.main.BaseModel.model_dump_json, help_text='Stored configuration value'),
|
||||
),
|
||||
]
|
Loading…
Add table
Reference in a new issue