mirror of
https://github.com/Llloooggg/WhereToGo.git
synced 2026-03-06 04:36:22 +03:00
Базовая карта
This commit is contained in:
29
wheretogo/maps/migrations/0001_initial.py
Normal file
29
wheretogo/maps/migrations/0001_initial.py
Normal file
@@ -0,0 +1,29 @@
|
||||
# Generated by Django 4.0.3 on 2022-04-21 11:59
|
||||
|
||||
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',
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user