summaryrefslogtreecommitdiff
path: root/app/notes/migrations
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2016-02-08 12:53:07 -0500
committerluxagraf <sng@luxagraf.net>2016-02-08 12:53:07 -0500
commitfdb951576ff642d160bd66cba82179fa2ca247d7 (patch)
treed9889ac6951f48f475ee88718da8e7f4afb8a345 /app/notes/migrations
parent34df0f81d9a4480eb33c77a22879218e35fa0b49 (diff)
redid notes to make them self-contained and local
Diffstat (limited to 'app/notes/migrations')
-rw-r--r--app/notes/migrations/0001_initial.py63
-rw-r--r--app/notes/migrations/0002_auto_20160208_1107.py20
-rw-r--r--app/notes/migrations/0003_auto_20160208_1120.py33
-rw-r--r--app/notes/migrations/__init__.py0
4 files changed, 116 insertions, 0 deletions
diff --git a/app/notes/migrations/0001_initial.py b/app/notes/migrations/0001_initial.py
new file mode 100644
index 0000000..cf8396a
--- /dev/null
+++ b/app/notes/migrations/0001_initial.py
@@ -0,0 +1,63 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9 on 2016-02-08 10:57
+from __future__ import unicode_literals
+
+import django.contrib.gis.db.models.fields
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ ('locations', '__first__'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='LuxNote',
+ 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='date_created')),
+ ('date_created', models.DateTimeField(editable=False)),
+ ('date_last_updated', models.DateTimeField(blank=True, verbose_name='Date')),
+ ('body_html', models.TextField(blank=True)),
+ ('body_markdown', models.TextField(verbose_name='Note')),
+ ],
+ ),
+ migrations.CreateModel(
+ name='Note',
+ 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='date_created')),
+ ('date_created', models.DateTimeField(blank=True, verbose_name='Date')),
+ ('date_last_updated', models.DateTimeField(blank=True, verbose_name='Date')),
+ ('point', django.contrib.gis.db.models.fields.PointField(srid=4326)),
+ ('city_name', models.CharField(blank=True, max_length=250, null=True)),
+ ('state_name', models.CharField(blank=True, max_length=250, null=True)),
+ ('country_name', models.CharField(blank=True, max_length=150, null=True)),
+ ('body_html', models.TextField(blank=True)),
+ ('body_markdown', models.TextField(verbose_name='Note')),
+ ('twitter_text', models.CharField(blank=True, max_length=450, null=True, verbose_name='Twitter text')),
+ ('twitter_id', models.CharField(max_length=450, verbose_name='twitter_id')),
+ ('twitter_send', models.BooleanField(default=False, verbose_name='send to twitter?')),
+ ('twitter_sent', models.BooleanField(default=False)),
+ ('location', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location')),
+ ],
+ ),
+ migrations.CreateModel(
+ name='OriginNoteForReplies',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('date_created', models.DateTimeField()),
+ ('profile_image', models.CharField(blank=True, max_length=450, null=True)),
+ ('screen_name', models.CharField(blank=True, max_length=75, null=True)),
+ ('body_html', models.TextField(blank=True)),
+ ('remote_url', models.CharField(blank=True, max_length=450, null=True)),
+ ],
+ ),
+ ]
diff --git a/app/notes/migrations/0002_auto_20160208_1107.py b/app/notes/migrations/0002_auto_20160208_1107.py
new file mode 100644
index 0000000..3333a34
--- /dev/null
+++ b/app/notes/migrations/0002_auto_20160208_1107.py
@@ -0,0 +1,20 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9 on 2016-02-08 11:07
+from __future__ import unicode_literals
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('notes', '0001_initial'),
+ ]
+
+ operations = [
+ migrations.RenameField(
+ model_name='luxnote',
+ old_name='date_created',
+ new_name='pub_date',
+ ),
+ ]
diff --git a/app/notes/migrations/0003_auto_20160208_1120.py b/app/notes/migrations/0003_auto_20160208_1120.py
new file mode 100644
index 0000000..ccdf46f
--- /dev/null
+++ b/app/notes/migrations/0003_auto_20160208_1120.py
@@ -0,0 +1,33 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9 on 2016-02-08 11:20
+from __future__ import unicode_literals
+
+import django.contrib.gis.db.models.fields
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('locations', '__first__'),
+ ('notes', '0002_auto_20160208_1107'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='luxnote',
+ name='location',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location'),
+ ),
+ migrations.AddField(
+ model_name='luxnote',
+ name='point',
+ field=django.contrib.gis.db.models.fields.PointField(blank=True, null=True, srid=4326),
+ ),
+ migrations.AlterField(
+ model_name='luxnote',
+ name='slug',
+ field=models.SlugField(blank=True, unique_for_date='pub_date'),
+ ),
+ ]
diff --git a/app/notes/migrations/__init__.py b/app/notes/migrations/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/app/notes/migrations/__init__.py