Skip to content

Commit

Permalink
add migration for prev commits
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Dec 5, 2023
1 parent 5ce3779 commit eb83b0c
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions core/migrations/0023_alter_hunt_ending_location_and_more.py
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",
),
),
]

0 comments on commit eb83b0c

Please sign in to comment.