1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Generated by Django 2.1.1 on 2019-01-31 23:53
import django.contrib.gis.db.models.fields
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
('locations', '0014_delete_mexstates'),
]
operations = [
migrations.CreateModel(
name='LuxCheckIn',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('point', django.contrib.gis.db.models.fields.PointField(blank=True, srid=4326)),
('date', models.DateField(default=django.utils.timezone.now)),
('location_name', models.CharField(blank=True, max_length=200, null=True)),
('state_name', models.CharField(blank=True, max_length=200, null=True)),
('country_name', models.CharField(blank=True, max_length=200, null=True)),
('region_name', models.CharField(blank=True, max_length=200, null=True)),
('location', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location')),
],
options={
'ordering': ('-date',),
'get_latest_by': 'date',
},
),
]
|