summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2024-07-24 16:53:24 -0500
committerluxagraf <sng@luxagraf.net>2024-07-24 16:53:24 -0500
commita225723420b86a1640241ebca6a4076aa5c07d43 (patch)
tree8619b13fca2fbd760a513e66c0abf6c1dc19efa8 /app
parent88e0f0ac2bd5874256bf7e84fa460965bacdd761 (diff)
added migrationsHEADmaster
Diffstat (limited to 'app')
-rw-r--r--app/books/migrations/0002_alter_book_options_remove_book_sort_order.py21
-rw-r--r--app/lib/django_comments/migrations/0004_alter_comment_content_type_alter_comment_id_and_more.py37
-rw-r--r--app/normalize/migrations/0002_relatedpost_post_type.py18
-rw-r--r--app/posts/migrations/0002_post_template_name_alter_post_featured_audio_and_more.py30
4 files changed, 106 insertions, 0 deletions
diff --git a/app/books/migrations/0002_alter_book_options_remove_book_sort_order.py b/app/books/migrations/0002_alter_book_options_remove_book_sort_order.py
new file mode 100644
index 0000000..f52582b
--- /dev/null
+++ b/app/books/migrations/0002_alter_book_options_remove_book_sort_order.py
@@ -0,0 +1,21 @@
+# Generated by Django 5.0.7 on 2024-07-24 21:52
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('books', '0001_initial'),
+ ]
+
+ operations = [
+ migrations.AlterModelOptions(
+ name='book',
+ options={},
+ ),
+ migrations.RemoveField(
+ model_name='book',
+ name='sort_order',
+ ),
+ ]
diff --git a/app/lib/django_comments/migrations/0004_alter_comment_content_type_alter_comment_id_and_more.py b/app/lib/django_comments/migrations/0004_alter_comment_content_type_alter_comment_id_and_more.py
new file mode 100644
index 0000000..715eea3
--- /dev/null
+++ b/app/lib/django_comments/migrations/0004_alter_comment_content_type_alter_comment_id_and_more.py
@@ -0,0 +1,37 @@
+# Generated by Django 4.1.3 on 2022-12-02 20:06
+
+from django.conf import settings
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ migrations.swappable_dependency(settings.AUTH_USER_MODEL),
+ ('contenttypes', '0002_remove_content_type_name'),
+ ('django_comments', '0003_add_submit_date_index'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='comment',
+ name='content_type',
+ field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='content_type_set_for_%(class)s', to='contenttypes.contenttype', verbose_name='content type'),
+ ),
+ migrations.AlterField(
+ model_name='comment',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ migrations.AlterField(
+ model_name='comment',
+ name='user',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='%(class)s_comments', to=settings.AUTH_USER_MODEL, verbose_name='user'),
+ ),
+ migrations.AlterField(
+ model_name='commentflag',
+ name='id',
+ field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
+ ),
+ ]
diff --git a/app/normalize/migrations/0002_relatedpost_post_type.py b/app/normalize/migrations/0002_relatedpost_post_type.py
new file mode 100644
index 0000000..82a84c8
--- /dev/null
+++ b/app/normalize/migrations/0002_relatedpost_post_type.py
@@ -0,0 +1,18 @@
+# Generated by Django 5.0.7 on 2024-07-24 21:52
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('normalize', '0001_initial'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='relatedpost',
+ name='post_type',
+ field=models.CharField(blank=True, max_length=50, null=True),
+ ),
+ ]
diff --git a/app/posts/migrations/0002_post_template_name_alter_post_featured_audio_and_more.py b/app/posts/migrations/0002_post_template_name_alter_post_featured_audio_and_more.py
new file mode 100644
index 0000000..f0ae095
--- /dev/null
+++ b/app/posts/migrations/0002_post_template_name_alter_post_featured_audio_and_more.py
@@ -0,0 +1,30 @@
+# Generated by Django 5.0.7 on 2024-07-24 21:52
+
+import django.db.models.deletion
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('media', '0001_initial'),
+ ('posts', '0001_initial'),
+ ]
+
+ operations = [
+ migrations.AddField(
+ model_name='post',
+ name='template_name',
+ field=models.IntegerField(choices=[(0, 'single'), (1, 'double'), (2, 'single-dark'), (3, 'double-dark'), (4, 'single-black'), (5, 'double-black')], default=0),
+ ),
+ migrations.AlterField(
+ model_name='post',
+ name='featured_audio',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='media.luxaudio'),
+ ),
+ migrations.AlterField(
+ model_name='post',
+ name='featured_image',
+ field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='media.luximage'),
+ ),
+ ]