summaryrefslogtreecommitdiff
path: root/app/locations/migrations
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-09-29 10:19:16 -0500
committerluxagraf <sng@luxagraf.net>2018-09-29 10:19:16 -0500
commit7fdb835854c6e42ae3d0425abcd8649a4c6f88c5 (patch)
tree1cbc8906ce018a2b4728e2c91176e56a01c7643b /app/locations/migrations
parent157f6f9dd9936909337ec9d1a664ca4e804d4adc (diff)
created then deleted some temporary models to load geodata for mexican states
Diffstat (limited to 'app/locations/migrations')
-rw-r--r--app/locations/migrations/0012_mexstates.py36
-rw-r--r--app/locations/migrations/0013_auto_20180929_1041.py18
-rw-r--r--app/locations/migrations/0014_delete_mexstates.py16
3 files changed, 70 insertions, 0 deletions
diff --git a/app/locations/migrations/0012_mexstates.py b/app/locations/migrations/0012_mexstates.py
new file mode 100644
index 0000000..9a8b162
--- /dev/null
+++ b/app/locations/migrations/0012_mexstates.py
@@ -0,0 +1,36 @@
+# Generated by Django 2.1.1 on 2018-09-29 10:35
+
+import django.contrib.gis.db.models.fields
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('locations', '0011_campsite_campsite_price'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='mexstates',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('objectid', models.IntegerField()),
+ ('fips_admin', models.CharField(max_length=4)),
+ ('gmi_admin', models.CharField(max_length=7)),
+ ('admin_name', models.CharField(max_length=42)),
+ ('fips_cntry', models.CharField(max_length=2)),
+ ('gmi_cntry', models.CharField(max_length=3)),
+ ('cntry_name', models.CharField(max_length=40)),
+ ('pop_admin', models.IntegerField()),
+ ('type_eng', models.CharField(max_length=26)),
+ ('type_loc', models.CharField(max_length=50)),
+ ('sqkm', models.FloatField()),
+ ('sqmi', models.FloatField()),
+ ('color_map', models.CharField(max_length=2)),
+ ('shape_leng', models.FloatField()),
+ ('shape_area', models.FloatField()),
+ ('geom', django.contrib.gis.db.models.fields.MultiPolygonField(srid=4326)),
+ ],
+ ),
+ ]
diff --git a/app/locations/migrations/0013_auto_20180929_1041.py b/app/locations/migrations/0013_auto_20180929_1041.py
new file mode 100644
index 0000000..9401759
--- /dev/null
+++ b/app/locations/migrations/0013_auto_20180929_1041.py
@@ -0,0 +1,18 @@
+# Generated by Django 2.1.1 on 2018-09-29 10:41
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('locations', '0012_mexstates'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='mexstates',
+ name='objectid',
+ field=models.IntegerField(null=True),
+ ),
+ ]
diff --git a/app/locations/migrations/0014_delete_mexstates.py b/app/locations/migrations/0014_delete_mexstates.py
new file mode 100644
index 0000000..e3c1eb5
--- /dev/null
+++ b/app/locations/migrations/0014_delete_mexstates.py
@@ -0,0 +1,16 @@
+# Generated by Django 2.1.1 on 2018-09-29 11:18
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('locations', '0013_auto_20180929_1041'),
+ ]
+
+ operations = [
+ migrations.DeleteModel(
+ name='mexstates',
+ ),
+ ]