summaryrefslogtreecommitdiff
path: root/app/posts/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'app/posts/migrations')
-rw-r--r--app/posts/migrations/0029_remove_post_short_title_alter_post_post_type.py22
-rw-r--r--app/posts/migrations/0030_post_template_name.py18
-rw-r--r--app/posts/migrations/0031_alter_post_enable_comments.py18
3 files changed, 58 insertions, 0 deletions
diff --git a/app/posts/migrations/0029_remove_post_short_title_alter_post_post_type.py b/app/posts/migrations/0029_remove_post_short_title_alter_post_post_type.py
new file mode 100644
index 0000000..a5b98cc
--- /dev/null
+++ b/app/posts/migrations/0029_remove_post_short_title_alter_post_post_type.py
@@ -0,0 +1,22 @@
+# Generated by Django 4.2.7 on 2024-03-10 09:55
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('posts', '0028_alter_post_post_type_alter_post_title'),
+ ]
+
+ operations = [
+ migrations.RemoveField(
+ model_name='post',
+ name='short_title',
+ ),
+ migrations.AlterField(
+ model_name='post',
+ name='post_type',
+ field=models.IntegerField(choices=[(2, 'essay'), (3, 'src'), (4, 'jrnl'), (5, 'field note')], default=4),
+ ),
+ ]
diff --git a/app/posts/migrations/0030_post_template_name.py b/app/posts/migrations/0030_post_template_name.py
new file mode 100644
index 0000000..9d52571
--- /dev/null
+++ b/app/posts/migrations/0030_post_template_name.py
@@ -0,0 +1,18 @@
+# Generated by Django 4.2.7 on 2024-03-10 09:56
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('posts', '0029_remove_post_short_title_alter_post_post_type'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='post',
+ name='template_name',
+ field=models.IntegerField(choices=[(0, 'Default'), (1, 'Large Top Image')], default=0),
+ ),
+ ]
diff --git a/app/posts/migrations/0031_alter_post_enable_comments.py b/app/posts/migrations/0031_alter_post_enable_comments.py
new file mode 100644
index 0000000..7b6e588
--- /dev/null
+++ b/app/posts/migrations/0031_alter_post_enable_comments.py
@@ -0,0 +1,18 @@
+# Generated by Django 4.2.7 on 2024-03-10 10:05
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('posts', '0030_post_template_name'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='post',
+ name='enable_comments',
+ field=models.BooleanField(default=True),
+ ),
+ ]