summaryrefslogtreecommitdiff
path: root/app/syndication/migrations/0001_initial.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/syndication/migrations/0001_initial.py')
-rw-r--r--app/syndication/migrations/0001_initial.py37
1 files changed, 37 insertions, 0 deletions
diff --git a/app/syndication/migrations/0001_initial.py b/app/syndication/migrations/0001_initial.py
new file mode 100644
index 0000000..9643d51
--- /dev/null
+++ b/app/syndication/migrations/0001_initial.py
@@ -0,0 +1,37 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.9 on 2016-03-29 10:07
+from __future__ import unicode_literals
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ initial = True
+
+ dependencies = [
+ ('contenttypes', '0002_remove_content_type_name'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Syndicate',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('name', models.CharField(max_length=200)),
+ ],
+ ),
+ migrations.CreateModel(
+ name='SyndicatedItem',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('object_id', models.PositiveIntegerField()),
+ ('publish_date', models.DateTimeField()),
+ ('status', models.CharField(blank=True, choices=[('1', 'Unsent'), ('2', 'Sent')], max_length=1, null=True)),
+ ('rel_link', models.CharField(blank=True, max_length=300, null=True)),
+ ('content_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType')),
+ ('syndicate', models.ManyToManyField(to='syndication.Syndicate')),
+ ],
+ ),
+ ]