# Generated by Django 3.2.16 on 2023-01-07 12:05

from django.db import migrations, models
import django.db.models.deletion
import pi_dash.db.models.asset


class Migration(migrations.Migration):
    dependencies = [
        ("db", "0015_auto_20230107_1636"),
    ]

    operations = [
        migrations.AddField(
            model_name="fileasset",
            name="workspace",
            field=models.ForeignKey(
                null=True,
                on_delete=django.db.models.deletion.CASCADE,
                related_name="assets",
                to="db.workspace",
            ),
        ),
        migrations.AlterField(
            model_name="fileasset",
            name="asset",
            field=models.FileField(
                upload_to=pi_dash.db.models.asset.get_upload_path,
                validators=[pi_dash.db.models.asset.file_size],
            ),
        ),
    ]
