0001_initial.py 902 B

1234567891011121314151617181920212223242526272829303132
  1. # Generated by Django 3.2 on 2021-04-11 19:13
  2. from django.db import migrations, models
  3. class Migration(migrations.Migration):
  4. initial = True
  5. dependencies = []
  6. operations = [
  7. migrations.CreateModel(
  8. name="FileBlob",
  9. fields=[
  10. (
  11. "id",
  12. models.BigAutoField(
  13. auto_created=True,
  14. primary_key=True,
  15. serialize=False,
  16. verbose_name="ID",
  17. ),
  18. ),
  19. ("created", models.DateTimeField(auto_now_add=True, db_index=True)),
  20. ("upload", models.FileField(upload_to="uploads/")),
  21. ("checksum", models.CharField(max_length=40, unique=True)),
  22. ],
  23. options={
  24. "abstract": False,
  25. },
  26. ),
  27. ]