chore(migrations/0021): add create_gitea_repo and gitea_repo_url to ModuleLessonPage
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 6.0.3 on 2026-03-30 07:51
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('home', '0020_coursepage_repository_url_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='modulelessonpage',
|
||||
name='create_gitea_repo',
|
||||
field=models.BooleanField(default=False, help_text='If enabled, a Gitea repository will be automatically created for this module when the module is published.'),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='modulelessonpage',
|
||||
name='gitea_repo_url',
|
||||
field=models.URLField(blank=True, help_text="URL of the Gitea repository for this lesson (auto-generated if 'create_gitea_repo' is enabled)", null=True),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user