Skip to content

Commit

Permalink
Added missing migration from #90
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy committed Jul 4, 2023
1 parent 7cf434f commit 6d60501
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions ctfhub/migrations/0021_alter_team_avatar.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Generated by Django 4.2.2 on 2023-07-04 16:06

import ctfhub.validators
import django.core.files.storage
from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("ctfhub", "0020_alter_member_hedgedoc_password"),
]

operations = [
migrations.AlterField(
model_name="team",
name="avatar",
field=models.ImageField(
blank=True,
storage=django.core.files.storage.FileSystemStorage(
base_url="/uploads/", location="/code/uploads"
),
upload_to="media/",
validators=[ctfhub.validators.challenge_file_max_size_validator],
),
),
]

0 comments on commit 6d60501

Please sign in to comment.