diff options
Diffstat (limited to 'app/notes/migrations/0001_initial.py')
-rw-r--r-- | app/notes/migrations/0001_initial.py | 63 |
1 files changed, 63 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)), + ], + ), + ] |