schon/core/migrations
Egor fureunoir Gorbunov 38b22704b1 Features: 1) Enhance product filter to support Elasticsearch ranking with preserved order; 2) Add personal_orders_only field to ProductDocument; 3) Introduce "name_exact" analyzer for case-insensitive exact matching in Elasticsearch;
Fixes: 1) Fix Elasticsearch document mapping to include missing "ci" field; 2) Correct slug field index setting from index=False to indexed; 3) Update Elasticsearch search weights and sizes for improved relevance and pagination;

Extra: 1) Refactor product search logic to prioritize partnumber > sku > slug > name.ci; 2) Add new analyzer "name_exact" for case-insensitive exact matching; 3) Adjust stock model to allow blank system_attributes; 4) Update migration to reflect JSONField changes; 5) Adjust Elasticsearch boosting weights for better ranking; 6) Increase category search size to 33 for consistency; 7) Add missing personal_orders_only field to ProductDocument.
2025-11-02 03:09:16 +03:00
..
0001_initial.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0002_initial.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0003_alter_attribute_name_alter_attribute_name_ar_ar_and_more.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0004_alter_product_name_alter_product_name_ar_ar_and_more.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0005_remove_brand_category_brand_categories.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0006_alter_order_status.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0007_alter_category_image.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0008_digitalassetdownload.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0009_documentary.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0010_product_partnumber.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0011_brand_big_logo_brand_description_and_more.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0012_alter_order_user.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0013_product_slug.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0014_alter_product_slug.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0015_alter_product_slug.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0016_alter_product_slug.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0017_order_human_readable_id.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0018_alter_order_human_readable_id.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0019_address.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0020_order_billing_address_order_shipping_address.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0021_rename_name_ar_ar_attribute_name_ar_ar_and_more.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0022_category_slug.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0023_address_address_line.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0024_categorytag_category_tags.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0025_alter_product_category.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0026_brand_slug_alter_category_slug_alter_product_slug.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0027_brand_priority_alter_brand_slug.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0028_alter_category_slug_alter_product_slug.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0029_alter_category_slug.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0030_alter_category_slug.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0031_alter_product_slug.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0032_alter_brand_slug_alter_category_slug_and_more.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0033_alter_category_slug.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0034_category_priority_alter_brand_priority.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0035_alter_brand_slug_alter_category_slug_and_more.py Features: 1) RUFFVCKED 2025-07-03 02:53:01 +03:00
0036_vendor_b2b_auth_token_vendor_users.py Features: 1) Add support for multiple database backup types (SFTP, FTP) with dynamic configuration; 2025-08-05 20:40:27 +03:00
0037_product_sku.py Features: 1) Add sku field to Product model with improvements, including unique constraint and default generation; 2) Implement migration to backfill SKUs for existing products. 2025-09-01 20:50:48 +03:00
0038_backfill_product_sku.py Features: 1) Add # noinspection PyUnusedLocal annotations to various viewsets, filters, and migrations to suppress unnecessary warnings; 2) Improve post method in BusinessPurchaseView to handle exceptions and inactive orders gracefully; 3) Refactor resolve_transactions and related resolvers in Graphene to include more specific typing hints; 4) Include defensive coding for attributes in several models to ensure type safety. 2025-10-01 17:26:07 +03:00
0039_alter_product_sku.py Features: 1) Add sku field to multiple serializers and GraphQL object types for better product identification; 2025-09-01 20:52:42 +03:00
0040_customerrelationshipmanagementprovider_ordercrmlink.py Features: 1) Add readonly_fields for uuid, modified, and created in CustomerRelationshipManagementProvider; 2) Add additional readonly_fields for OrderCrmLink; 2025-09-07 01:30:03 +03:00
0041_alter_customerrelationshipmanagementprovider_options.py Features: 1) Add readonly_fields for uuid, modified, and created in CustomerRelationshipManagementProvider; 2) Add additional readonly_fields for OrderCrmLink; 2025-09-07 01:30:03 +03:00
0042_attribute_name_fa_ir_attribute_name_he_il_and_more.py Features: 1) Added new language options to User model's language field in vibes_auth; 2) Introduced localized title and content fields to Post model in blog; 3) Implemented multilingual support for various fields in Attribute, AttributeGroup, AttributeValue, Brand, Category, CategoryTag, and Product models in core; 2025-09-19 17:02:11 +03:00
0043_attribute_is_filterable_and_more.py Features: 1) Introduced search fields with transliteration support across filters and Elasticsearch queries; 2) Simplified name filters in product, category, and brand filters by replacing custom logic with standard icontains; 3) Added process_system_query function with enhanced query capabilities. 2025-09-27 15:56:52 +03:00
0044_vendor_last_processing_response.py Features: 1) Extend fieldsets by adding additional_fields support in FieldsetsMixin; 2) Add CRMForm for CustomerRelationshipManagementProviderAdmin; 3) Improve Order.__str__ to use human_readable_id for better debugging context; 2025-10-13 16:27:47 +03:00
0045_alter_product_name_alter_product_name_ar_ar_and_more.py Features: 1) Add multiple database indexes to enhance query performance for models order, orderproduct, and product. 2025-10-18 11:48:40 +03:00
0046_alter_attribute_name_alter_attribute_name_ar_ar_and_more.py Features: (none); 2025-10-18 23:16:49 +03:00
0047_alter_attribute_unique_together.py Features: 1) Add migration to enforce unique constraint on Attribute model for fields name, group, and value_type; 2025-10-19 00:16:57 +03:00
0048_vendor_integration_path_alter_productimage_priority.py Features: 1) Add get_integration_class_object method to Transaction for dynamic gateway class instantiation; 2025-10-21 12:33:17 +03:00
0049_alter_attribute_unique_together.py Features: Move from poetry to uv. 2025-10-25 02:18:41 +03:00
0050_remove_attribute_categories.py Features: 1) Remove categories field from attribute model via migration; 2025-10-26 17:11:07 +03:00
0051_stock_system_attributes.py Features: 1) Add JSONField system_attributes to stock model with default as an empty dictionary; 2) Extend sitemaps for Category and Brand to include slug in queried fields; 2025-10-26 22:34:01 +03:00
0052_alter_stock_system_attributes.py Features: 1) Enhance product filter to support Elasticsearch ranking with preserved order; 2) Add personal_orders_only field to ProductDocument; 3) Introduce "name_exact" analyzer for case-insensitive exact matching in Elasticsearch; 2025-11-02 03:09:16 +03:00
__init__.py Initial Commit 2025-04-29 22:40:30 +03:00