summaryrefslogtreecommitdiff
path: root/bak/unused_apps/people/migrations/0001_initial.py
diff options
context:
space:
mode:
Diffstat (limited to 'bak/unused_apps/people/migrations/0001_initial.py')
-rw-r--r--bak/unused_apps/people/migrations/0001_initial.py42
1 files changed, 42 insertions, 0 deletions
diff --git a/bak/unused_apps/people/migrations/0001_initial.py b/bak/unused_apps/people/migrations/0001_initial.py
new file mode 100644
index 0000000..6f21bea
--- /dev/null
+++ b/bak/unused_apps/people/migrations/0001_initial.py
@@ -0,0 +1,42 @@
+# Generated by Django 2.0.1 on 2018-04-05 09:06
+
+from django.db import migrations, models
+import django.db.models.deletion
+import taggit.managers
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ ('locations', '0003_auto_20180307_1027'),
+ ('taggit', '0002_auto_20150616_2121'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Person',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('first_name', models.CharField(max_length=200)),
+ ('last_name', models.CharField(max_length=200)),
+ ('email', models.EmailField(blank=True, max_length=120, null=True)),
+ ('street', models.CharField(blank=True, max_length=355, null=True)),
+ ('city', models.CharField(blank=True, max_length=200, null=True)),
+ ('state', models.CharField(blank=True, max_length=200, null=True)),
+ ('postal_code', models.CharField(blank=True, max_length=20, null=True)),
+ ('country', models.CharField(max_length=200, null=True)),
+ ('phone', models.CharField(blank=True, max_length=22, null=True)),
+ ('slug', models.CharField(blank=True, max_length=50)),
+ ('body_markdown', models.TextField(blank=True, null=True)),
+ ('body_html', models.TextField(blank=True, null=True)),
+ ('next_contact_date', models.DateField(blank=True, null=True)),
+ ('location_met', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='locations.Location')),
+ ('tags', taggit.managers.TaggableManager(blank=True, help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags')),
+ ],
+ options={
+ 'ordering': ('-last_name',),
+ },
+ ),
+ ]