summaryrefslogtreecommitdiff
path: root/app/resume/migrations/0001_initial.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2015-12-07 21:31:43 -0500
committerluxagraf <sng@luxagraf.net>2015-12-07 21:31:43 -0500
commit5dc9b251a29c79fdd0dafc9ef79318e8f213cb3a (patch)
tree4b586df9bac055907ae35f94c1c7fa67f40a3465 /app/resume/migrations/0001_initial.py
parent6ad212ae8a542e93d173c2b8e6efcd68109380c8 (diff)
added builder to resume section
Diffstat (limited to 'app/resume/migrations/0001_initial.py')
-rw-r--r--app/resume/migrations/0001_initial.py49
1 files changed, 49 insertions, 0 deletions
diff --git a/app/resume/migrations/0001_initial.py b/app/resume/migrations/0001_initial.py
new file mode 100644
index 0000000..14c9348
--- /dev/null
+++ b/app/resume/migrations/0001_initial.py
@@ -0,0 +1,49 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9 on 2015-12-07 21:04
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='PubItem',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('title', models.CharField(max_length=200)),
+ ('slug', models.CharField(max_length=50)),
+ ('body_markdown', models.TextField(blank=True, null=True)),
+ ('body_html', models.TextField(blank=True, null=True)),
+ ('url', models.CharField(blank=True, max_length=200, null=True)),
+ ('pub_date', models.DateTimeField(verbose_name='Date published')),
+ ],
+ options={
+ 'ordering': ('-pub_date',),
+ },
+ ),
+ migrations.CreateModel(
+ name='Publisher',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('name', models.CharField(max_length=200)),
+ ('slug', models.SlugField()),
+ ('body_markdown', models.TextField(blank=True, null=True)),
+ ('body_html', models.TextField(blank=True, null=True)),
+ ('url', models.CharField(blank=True, max_length=200, null=True)),
+ ('payment_time', models.DecimalField(decimal_places=0, max_digits=2)),
+ ],
+ ),
+ migrations.AddField(
+ model_name='pubitem',
+ name='publisher',
+ field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='resume.Publisher'),
+ ),
+ ]