diff --git a/passfinder/events/migrations/0024_basepoint_price.py b/passfinder/events/migrations/0024_basepoint_price.py new file mode 100644 index 0000000..b3c43fe --- /dev/null +++ b/passfinder/events/migrations/0024_basepoint_price.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.1 on 2023-05-26 17:13 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("events", "0023_restaurant_extra_kwargs"), + ] + + operations = [ + migrations.AddField( + model_name="basepoint", + name="price", + field=models.IntegerField(null=True), + ), + ] diff --git a/passfinder/events/models.py b/passfinder/events/models.py index e1e784d..1cb1d26 100644 --- a/passfinder/events/models.py +++ b/passfinder/events/models.py @@ -111,6 +111,7 @@ class BasePoint(OIDModel, PolymorphicModel): lon = models.FloatField(default=0, db_index=True) can_buy = models.BooleanField(default=True) priority = models.BooleanField(default=False) + price = models.IntegerField(null=True) @property @extend_schema_field(