0004_auto_20210509_1658.py 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # Generated by Django 3.2.1 on 2021-05-09 16:58
  2. from django.db import migrations, models
  3. class Migration(migrations.Migration):
  4. dependencies = [
  5. ("files", "0003_auto_20210507_1549"),
  6. ]
  7. operations = [
  8. migrations.RemoveField(
  9. model_name="fileblob",
  10. name="upload",
  11. ),
  12. migrations.AddField(
  13. model_name="fileblob",
  14. name="blob",
  15. field=models.FileField(default="", upload_to="uploads/file_blobs"),
  16. preserve_default=False,
  17. ),
  18. migrations.AlterField(
  19. model_name="file",
  20. name="id",
  21. field=models.BigAutoField(
  22. auto_created=True, primary_key=True, serialize=False, verbose_name="ID"
  23. ),
  24. ),
  25. migrations.AlterField(
  26. model_name="fileblob",
  27. name="id",
  28. field=models.BigAutoField(
  29. auto_created=True, primary_key=True, serialize=False, verbose_name="ID"
  30. ),
  31. ),
  32. ]