feat: Allow longer placids with no restrictions on int

This commit is contained in:
moanos [he/him] 2025-04-27 00:21:58 +02:00
parent fe63e3b25c
commit f387930dee
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 5.1.4 on 2025-04-26 22:21
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('fellchensammlung', '0043_rename_country_location_countrycode'),
]
operations = [
migrations.AlterField(
model_name='location',
name='place_id',
field=models.CharField(max_length=200),
),
]

View File

@ -39,7 +39,7 @@ class Language(models.Model):
class Location(models.Model):
place_id = models.IntegerField() # OSM id
place_id = models.CharField(max_length=200) # OSM id
latitude = models.FloatField()
longitude = models.FloatField()
name = models.CharField(max_length=2000)