From 10961d9f7c8f857fd4621bbaaca9feefca86f5f8 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 15 May 2024 17:53:18 +0200 Subject: 🗃️ profile - relation engine: default changed to cache tables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...e_rel_engine_default_changed_to_cache_tables.py | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 ishtar_common/migrations/0246_profile_rel_engine_default_changed_to_cache_tables.py (limited to 'ishtar_common/migrations') diff --git a/ishtar_common/migrations/0246_profile_rel_engine_default_changed_to_cache_tables.py b/ishtar_common/migrations/0246_profile_rel_engine_default_changed_to_cache_tables.py new file mode 100644 index 000000000..50a6c1b89 --- /dev/null +++ b/ishtar_common/migrations/0246_profile_rel_engine_default_changed_to_cache_tables.py @@ -0,0 +1,23 @@ +# Generated by Django 2.2.24 on 2024-05-15 17:50 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('ishtar_common', '0245_verbose_names'), + ] + + operations = [ + migrations.AlterField( + model_name='ishtarsiteprofile', + name='files', + field=models.BooleanField(default=False, verbose_name='File/administrative module'), + ), + migrations.AlterField( + model_name='ishtarsiteprofile', + name='parent_relations_engine', + field=models.CharField(choices=[('V', 'SQL views'), ('T', 'Cache tables')], default='T', help_text='If you experience performance problems with complex relations (for instance: complex statigraphic relations), set it to "Cache tables" in order to use static cache tables. Do not forget to update theses table with the "migrate_relations_cache_tables" manage.py command.', max_length=1, verbose_name='Parent relations engine'), + ), + ] -- cgit v1.2.3