feat: Allow longer placids with no restrictions on int
This commit is contained in:
		@@ -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),
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
@@ -39,7 +39,7 @@ class Language(models.Model):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class Location(models.Model):
 | 
					class Location(models.Model):
 | 
				
			||||||
    place_id = models.IntegerField()  # OSM id
 | 
					    place_id = models.CharField(max_length=200)  # OSM id
 | 
				
			||||||
    latitude = models.FloatField()
 | 
					    latitude = models.FloatField()
 | 
				
			||||||
    longitude = models.FloatField()
 | 
					    longitude = models.FloatField()
 | 
				
			||||||
    name = models.CharField(max_length=2000)
 | 
					    name = models.CharField(max_length=2000)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user