# Generated manually for video upload feature
from django.db import migrations, models
import users.validators


class Migration(migrations.Migration):

    dependencies = [
        ('users', '0007_dashboardcard'),
    ]

    operations = [
        migrations.AddField(
            model_name='dashboardcard',
            name='video',
            field=models.FileField(blank=True, help_text='Card video (MP4, WebM, Ogg formats, max 50MB)', null=True, upload_to='dashboard_videos/', validators=[users.validators.validate_video_file_extension, users.validators.validate_video_file_size]),
        ),
        migrations.AddField(
            model_name='dashboardcard',
            name='video_url',
            field=models.URLField(blank=True, help_text='Or use video URL (if video file not uploaded)'),
        ),
    ]
