You've already forked WhereToGoRedux
mirror of
https://github.com/Llloooggg/WhereToGoRedux.git
synced 2026-03-06 04:56:23 +03:00
42 lines
1.2 KiB
Python
42 lines
1.2 KiB
Python
# Generated by Django 4.1.1 on 2022-09-09 23:29
|
|
|
|
import django.contrib.gis.db.models.fields
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = []
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="Facility",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.BigAutoField(
|
|
auto_created=True,
|
|
primary_key=True,
|
|
serialize=False,
|
|
verbose_name="ID",
|
|
),
|
|
),
|
|
("name", models.CharField(max_length=200)),
|
|
("address", models.CharField(max_length=100)),
|
|
("city", models.CharField(max_length=50)),
|
|
(
|
|
"location",
|
|
django.contrib.gis.db.models.fields.PointField(
|
|
blank=True, null=True, srid=4326
|
|
),
|
|
),
|
|
],
|
|
options={
|
|
"verbose_name": "facility",
|
|
"verbose_name_plural": "facilities",
|
|
},
|
|
),
|
|
]
|