IMage genartion service and models revamp - #Migration Runs

This commit is contained in:
IGNY8 VPS (Salman)
2026-01-03 20:08:16 +00:00
parent a70f8cdd01
commit f518e1751b
15 changed files with 817 additions and 287 deletions

View File

@@ -0,0 +1,43 @@
# Generated migration for updating Runware image models
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('system', '0013_add_anthropic_integration'),
]
operations = [
# Update runware_model field with new model choices
migrations.AlterField(
model_name='globalintegrationsettings',
name='runware_model',
field=models.CharField(
choices=[
('runware:97@1', 'Hi Dream Full - Basic'),
('bria:10@1', 'Bria 3.2 - Quality'),
('google:4@2', 'Nano Banana - Premium'),
],
default='runware:97@1',
help_text='Default Runware model (accounts can override if plan allows)',
max_length=100,
),
),
# Update desktop_image_size help text (mobile removed)
migrations.AlterField(
model_name='globalintegrationsettings',
name='desktop_image_size',
field=models.CharField(
default='1024x1024',
help_text='Default image size for in-article images (accounts can override if plan allows)',
max_length=20,
),
),
# Remove mobile_image_size field if it exists (safe removal)
migrations.RemoveField(
model_name='globalintegrationsettings',
name='mobile_image_size',
),
]