summaryrefslogtreecommitdiff
path: root/app/unused_apps/publications/migrations/0003_auto_20190131_0923.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2020-11-15 10:13:08 -0500
committerluxagraf <sng@luxagraf.net>2020-11-15 10:13:08 -0500
commit7509da286bccd1dda358507cd455f9297db59247 (patch)
tree779aa3660e453d73268d22a72d9a5599cc94aa02 /app/unused_apps/publications/migrations/0003_auto_20190131_0923.py
parentb2434dcba142961b4a4b67780cf64e01d0908bf5 (diff)
ported jrnl building to posts
Diffstat (limited to 'app/unused_apps/publications/migrations/0003_auto_20190131_0923.py')
-rw-r--r--app/unused_apps/publications/migrations/0003_auto_20190131_0923.py37
1 files changed, 37 insertions, 0 deletions
diff --git a/app/unused_apps/publications/migrations/0003_auto_20190131_0923.py b/app/unused_apps/publications/migrations/0003_auto_20190131_0923.py
new file mode 100644
index 0000000..6844c55
--- /dev/null
+++ b/app/unused_apps/publications/migrations/0003_auto_20190131_0923.py
@@ -0,0 +1,37 @@
+# Generated by Django 2.1.1 on 2019-01-31 09:23
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('publications', '0002_editor_section'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='Section',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('name', models.CharField(max_length=250)),
+ ('slug', models.SlugField(blank=True)),
+ ('date_created', models.DateTimeField(auto_now_add=True)),
+ ('date_updated', models.DateTimeField(auto_now=True)),
+ ],
+ ),
+ migrations.RemoveField(
+ model_name='editor',
+ name='section',
+ ),
+ migrations.AlterField(
+ model_name='publication',
+ name='status',
+ field=models.IntegerField(choices=[(0, 'Not Published'), (1, 'Published')], default=0),
+ ),
+ migrations.AddField(
+ model_name='editor',
+ name='section',
+ field=models.ManyToManyField(blank=True, to='publications.Section'),
+ ),
+ ]