From 4fdef7c45363f350d83a2a72f4750f22cb6e68f9 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 28 May 2023 09:42:12 -0500 Subject: jrnl: added trip migration --- ...slug_alter_taggeditems_content_type_and_more.py | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 app/taxonomy/migrations/0007_alter_luxtag_slug_alter_taggeditems_content_type_and_more.py (limited to 'app/taxonomy/migrations') diff --git a/app/taxonomy/migrations/0007_alter_luxtag_slug_alter_taggeditems_content_type_and_more.py b/app/taxonomy/migrations/0007_alter_luxtag_slug_alter_taggeditems_content_type_and_more.py new file mode 100644 index 0000000..bbf0bc7 --- /dev/null +++ b/app/taxonomy/migrations/0007_alter_luxtag_slug_alter_taggeditems_content_type_and_more.py @@ -0,0 +1,30 @@ +# Generated by Django 4.2.1 on 2023-05-23 15:25 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ('contenttypes', '0002_remove_content_type_name'), + ('taxonomy', '0006_auto_20210107_1611'), + ] + + operations = [ + migrations.AlterField( + model_name='luxtag', + name='slug', + field=models.SlugField(allow_unicode=True, max_length=100, unique=True, verbose_name='slug'), + ), + migrations.AlterField( + model_name='taggeditems', + name='content_type', + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='%(app_label)s_%(class)s_tagged_items', to='contenttypes.contenttype', verbose_name='content type'), + ), + migrations.AlterField( + model_name='taggeditems', + name='tag', + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='%(app_label)s_%(class)s_items', to='taxonomy.luxtag'), + ), + ] -- cgit v1.2.3-70-g09d2