Skip to content

Commit

Permalink
[BugFix] Fix ephemeral storage default value (#4232)
Browse files Browse the repository at this point in the history
* [BugFix] Fix default ephemeral storage

* Add migration
  • Loading branch information
gchhablani authored Dec 1, 2023
1 parent 61b44d8 commit 76bd3f5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 2.2.20 on 2023-12-01 15:46

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('challenges', '0110_challenge_ephemeral_storage'),
]

operations = [
migrations.AlterField(
model_name='challenge',
name='ephemeral_storage',
field=models.PositiveIntegerField(default=21, verbose_name='Ephemeral Storage (GB)'),
),
]
2 changes: 1 addition & 1 deletion apps/challenges/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def __init__(self, *args, **kwargs):
default=8, verbose_name="EC2 storage (GB)"
)
ephemeral_storage = models.PositiveIntegerField(
default=20, verbose_name="Ephemeral Storage (GB)"
default=21, verbose_name="Ephemeral Storage (GB)"
)
featured = models.BooleanField(
default=False, verbose_name="Featured", db_index=True
Expand Down

0 comments on commit 76bd3f5

Please sign in to comment.