# Generated by Django 4.2.5 on 2024-08-14 07:17

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


class Migration(migrations.Migration):

    dependencies = [
        ('osinacore', '0104_projectfilealbum_file'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='projectfile',
            name='name',
        ),
        migrations.RemoveField(
            model_name='projectfile',
            name='project',
        ),
        migrations.RemoveField(
            model_name='projectfilealbum',
            name='date_added',
        ),
        migrations.RemoveField(
            model_name='projectfilealbum',
            name='file',
        ),
        migrations.RemoveField(
            model_name='projectfilealbum',
            name='projectfile',
        ),
        migrations.AddField(
            model_name='projectfile',
            name='album',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='osinacore.projectfilealbum'),
        ),
        migrations.AddField(
            model_name='projectfile',
            name='date_added',
            field=models.DateTimeField(null=True),
        ),
        migrations.AddField(
            model_name='projectfile',
            name='file',
            field=models.FileField(null=True, upload_to=''),
        ),
        migrations.AddField(
            model_name='projectfilealbum',
            name='name',
            field=models.CharField(max_length=350, null=True),
        ),
        migrations.AddField(
            model_name='projectfilealbum',
            name='project',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='osinacore.project'),
        ),
    ]
