-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5ce3779
commit eb83b0c
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
core/migrations/0023_alter_hunt_ending_location_and_more.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,54 @@ | ||
# Generated by Django 4.1.13 on 2023-12-05 14:34 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("core", "0022_remove_hunt_early_access_users_hunt_testers"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="hunt", | ||
name="ending_location", | ||
field=models.ForeignKey( | ||
blank=True, | ||
help_text="(Optional) A specified ending location for the hunt. All teams will get as their last location.", | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="ending_location", | ||
to="core.qrcode", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="hunt", | ||
name="middle_locations", | ||
field=models.ManyToManyField( | ||
help_text="Possible locations that are not the start or end", | ||
related_name="hunt", | ||
to="core.qrcode", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="hunt", | ||
name="path_length", | ||
field=models.PositiveSmallIntegerField( | ||
default=13, | ||
help_text="Length of the path: The amount of codes each time will have to find before the end. (not including start/end)", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="hunt", | ||
name="starting_location", | ||
field=models.ForeignKey( | ||
blank=True, | ||
help_text="(Optional) A specified starting location for the hunt. All teams will have to scan this QR code as their first.", | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
related_name="starting_location", | ||
to="core.qrcode", | ||
), | ||
), | ||
] |