summaryrefslogtreecommitdiff
path: root/app/guides/migrations
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-09-14 08:36:11 -0400
committerluxagraf <sng@luxagraf.net>2019-09-14 08:36:11 -0400
commite4dca5792a9ef843ae5a1f35a8166551747f33f2 (patch)
tree6fe206a45ca430544c6e6ea6898df0e7ee555e22 /app/guides/migrations
parentaca44010b0d34cc83491be7ef3a0de147598cc0b (diff)
Worked on guides, moved some templates to app/dir
Diffstat (limited to 'app/guides/migrations')
-rw-r--r--app/guides/migrations/0002_remove_guide_category.py17
-rw-r--r--app/guides/migrations/0003_guide_category.py21
-rw-r--r--app/guides/migrations/0004_auto_20190914_0646.py47
-rw-r--r--app/guides/migrations/0005_remove_guide_category.py17
4 files changed, 102 insertions, 0 deletions
diff --git a/app/guides/migrations/0002_remove_guide_category.py b/app/guides/migrations/0002_remove_guide_category.py
new file mode 100644
index 0000000..76eefa6
--- /dev/null
+++ b/app/guides/migrations/0002_remove_guide_category.py
@@ -0,0 +1,17 @@
+# Generated by Django 2.1.7 on 2019-07-04 12:05
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('guides', '0001_initial'),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name='guide',
+ name='category',
+ ),
+ ]
diff --git a/app/guides/migrations/0003_guide_category.py b/app/guides/migrations/0003_guide_category.py
new file mode 100644
index 0000000..82d03ac
--- /dev/null
+++ b/app/guides/migrations/0003_guide_category.py
@@ -0,0 +1,21 @@
+# Generated by Django 2.1.7 on 2019-09-08 17:45
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('taxonomy', '0001_initial'),
+ ('guides', '0002_remove_guide_category'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='guide',
+ name='category',
+ field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='taxonomy.Category'),
+ preserve_default=False,
+ ),
+ ]
diff --git a/app/guides/migrations/0004_auto_20190914_0646.py b/app/guides/migrations/0004_auto_20190914_0646.py
new file mode 100644
index 0000000..ccd79a5
--- /dev/null
+++ b/app/guides/migrations/0004_auto_20190914_0646.py
@@ -0,0 +1,47 @@
+# Generated by Django 2.1.7 on 2019-09-14 06:46
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('guides', '0003_guide_category'),
+ ]
+
+ operations = [
+ migrations.RenameField(
+ model_name='guide',
+ old_name='afterword',
+ new_name='epilogue_html',
+ ),
+ migrations.RenameField(
+ model_name='guide',
+ old_name='afterword_html',
+ new_name='epilogue_markdown',
+ ),
+ migrations.RenameField(
+ model_name='guide',
+ old_name='preamble_html',
+ new_name='prologue_html',
+ ),
+ migrations.RenameField(
+ model_name='guide',
+ old_name='preamble_markdown',
+ new_name='prologue_markdown',
+ ),
+ migrations.RemoveField(
+ model_name='guide',
+ name='essays',
+ ),
+ migrations.AddField(
+ model_name='guide',
+ name='disclaimer',
+ field=models.BooleanField(blank=True, default=False),
+ ),
+ migrations.AddField(
+ model_name='guide',
+ name='post_type',
+ field=models.IntegerField(choices=[(0, 'guide'), (1, 'review')], default=0),
+ ),
+ ]
diff --git a/app/guides/migrations/0005_remove_guide_category.py b/app/guides/migrations/0005_remove_guide_category.py
new file mode 100644
index 0000000..71d0280
--- /dev/null
+++ b/app/guides/migrations/0005_remove_guide_category.py
@@ -0,0 +1,17 @@
+# Generated by Django 2.1.7 on 2019-09-14 07:08
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('guides', '0004_auto_20190914_0646'),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name='guide',
+ name='category',
+ ),
+ ]