26 lines
735 B
Python
26 lines
735 B
Python
|
# Generated by Django 5.2 on 2025-07-08 13:53
|
||
|
|
||
|
import hub.services.models.base
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
("services", "0044_add_svg_support"),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.AddField(
|
||
|
model_name="article",
|
||
|
name="og_image",
|
||
|
field=models.ImageField(
|
||
|
blank=True,
|
||
|
help_text="Optional Open Graph image for social sharing (max 1MB). If not provided, the article's main image will be used.",
|
||
|
null=True,
|
||
|
upload_to="article_og_images/",
|
||
|
validators=[hub.services.models.base.validate_image_size],
|
||
|
),
|
||
|
),
|
||
|
]
|