-
Notifications
You must be signed in to change notification settings - Fork 788
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backend] Add EC2 instance ID to challenge (#4093)
- Loading branch information
1 parent
51161cf
commit 61b44da
Showing
3 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
apps/challenges/migrations/0101_challenge_ec2_instance_id.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Generated by Django 2.2.20 on 2023-08-10 06:02 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('challenges', '0100_challenge_uses_ec2_worker'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='challenge', | ||
name='ec2_instance_id', | ||
field=models.CharField(blank=True, default='', max_length=200, null=True), | ||
), | ||
migrations.AlterField( | ||
model_name='challenge', | ||
name='uses_ec2_worker', | ||
field=models.BooleanField(db_index=True, default=False, verbose_name='Uses EC2 worker instance'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters