You've already forked WhereToGoRedux
mirror of
https://github.com/Llloooggg/WhereToGoRedux.git
synced 2026-03-06 04:56:23 +03:00
init
This commit is contained in:
41
backend/wheretogo/facilities/migrations/0001_initial.py
Normal file
41
backend/wheretogo/facilities/migrations/0001_initial.py
Normal file
@@ -0,0 +1,41 @@
|
||||
# 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",
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user