# Generated by Django 4.2.5 on 2023-11-17 08:48

from django.db import migrations, models
import pi_dash.db.models.workspace


def user_password_autoset(apps, schema_editor):
    User = apps.get_model("db", "User")
    User.objects.update(is_password_autoset=True)


class Migration(migrations.Migration):
    dependencies = [
        ("db", "0049_auto_20231116_0713"),
    ]

    operations = [
        migrations.AddField(
            model_name="user",
            name="use_case",
            field=models.TextField(blank=True, null=True),
        ),
        migrations.AlterField(
            model_name="workspace",
            name="organization_size",
            field=models.CharField(blank=True, max_length=20, null=True),
        ),
        migrations.AddField(
            model_name="fileasset",
            name="is_deleted",
            field=models.BooleanField(default=False),
        ),
        migrations.AlterField(
            model_name="workspace",
            name="slug",
            field=models.SlugField(
                max_length=48,
                unique=True,
                validators=[pi_dash.db.models.workspace.slug_validator],
            ),
        ),
        migrations.RunPython(user_password_autoset),
    ]
