This commit is contained in:
18
backend/shop/migrations/0039_vccourse_video_embed_code.py
Normal file
18
backend/shop/migrations/0039_vccourse_video_embed_code.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 6.0.1 on 2026-03-01 09:38
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('shop', '0038_vccourse_is_video_course_vccourse_video_url'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='vccourse',
|
||||
name='video_embed_code',
|
||||
field=models.TextField(blank=True, help_text='支持iframe嵌入代码,优先级高于视频URL', null=True, verbose_name='视频嵌入代码'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user