summaryrefslogtreecommitdiff
path: root/bak/unused_apps/sketches/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'bak/unused_apps/sketches/migrations')
-rw-r--r--bak/unused_apps/sketches/migrations/0001_initial.py32
-rw-r--r--bak/unused_apps/sketches/migrations/0002_auto_20180208_0743.py17
-rw-r--r--bak/unused_apps/sketches/migrations/0003_auto_20190303_1057.py24
-rw-r--r--bak/unused_apps/sketches/migrations/__init__.py0
4 files changed, 73 insertions, 0 deletions
diff --git a/bak/unused_apps/sketches/migrations/0001_initial.py b/bak/unused_apps/sketches/migrations/0001_initial.py
new file mode 100644
index 0000000..1e034b4
--- /dev/null
+++ b/bak/unused_apps/sketches/migrations/0001_initial.py
@@ -0,0 +1,32 @@
+# Generated by Django 2.0.1 on 2018-02-01 20:56
+
+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):
+
+ initial = True
+
+ dependencies = [
+ ('locations', '0002_checkin'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Sketch',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('title', models.CharField(blank=True, max_length=250, null=True)),
+ ('slug', models.SlugField(blank=True, unique_for_date='pub_date')),
+ ('pub_date', models.DateTimeField(default=django.utils.timezone.now)),
+ ('body_html', models.TextField(blank=True)),
+ ('body_markdown', models.TextField(verbose_name='Note')),
+ ('point', django.contrib.gis.db.models.fields.PointField(blank=True, null=True, srid=4326)),
+ ('status', models.IntegerField(choices=[(0, 'Draft'), (1, 'Published')], default=1)),
+ ('location', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location')),
+ ],
+ ),
+ ]
diff --git a/bak/unused_apps/sketches/migrations/0002_auto_20180208_0743.py b/bak/unused_apps/sketches/migrations/0002_auto_20180208_0743.py
new file mode 100644
index 0000000..664fcbc
--- /dev/null
+++ b/bak/unused_apps/sketches/migrations/0002_auto_20180208_0743.py
@@ -0,0 +1,17 @@
+# Generated by Django 2.0.1 on 2018-02-08 07:43
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('sketches', '0001_initial'),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name='sketch',
+ options={'get_latest_by': 'pub_date', 'ordering': ('-pub_date',), 'verbose_name_plural': 'sketches'},
+ ),
+ ]
diff --git a/bak/unused_apps/sketches/migrations/0003_auto_20190303_1057.py b/bak/unused_apps/sketches/migrations/0003_auto_20190303_1057.py
new file mode 100644
index 0000000..87cfbf1
--- /dev/null
+++ b/bak/unused_apps/sketches/migrations/0003_auto_20190303_1057.py
@@ -0,0 +1,24 @@
+# Generated by Django 2.1.7 on 2019-03-03 10:57
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('sketches', '0002_auto_20180208_0743'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='sketch',
+ name='subtitle',
+ field=models.CharField(blank=True, max_length=250),
+ ),
+ migrations.AlterField(
+ model_name='sketch',
+ name='title',
+ field=models.CharField(blank=True, default='', max_length=250),
+ preserve_default=False,
+ ),
+ ]
diff --git a/bak/unused_apps/sketches/migrations/__init__.py b/bak/unused_apps/sketches/migrations/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/bak/unused_apps/sketches/migrations/__init__.py