32 lines
945 B
Python
32 lines
945 B
Python
|
# Generated by Django 4.2.5 on 2023-09-13 15:09
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
("pflaenzli", "0005_pflaenzliuser_language_code_alter_offer_category"),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name="Plz",
|
||
|
fields=[
|
||
|
(
|
||
|
"id",
|
||
|
models.BigAutoField(
|
||
|
auto_created=True,
|
||
|
primary_key=True,
|
||
|
serialize=False,
|
||
|
verbose_name="ID",
|
||
|
),
|
||
|
),
|
||
|
("plz", models.IntegerField(verbose_name="PLZ")),
|
||
|
("lat", models.DecimalField(decimal_places=6, max_digits=8)),
|
||
|
("lon", models.DecimalField(decimal_places=6, max_digits=8)),
|
||
|
("name", models.CharField(max_length=27)),
|
||
|
],
|
||
|
),
|
||
|
]
|