Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Make the index concurrent
Ania Warzechada8c9909c554
diff --git a/saleor/attribute/migrations/0035_assignedproductattributevalue_product_add_index.py b/saleor/attribute/migrations/0035_assignedproductattributevalue_product_add_index.pyindex 2c91c0eb05..29fe8e6485 100644--- a/saleor/attribute/migrations/0035_assignedproductattributevalue_product_add_index.py+++ b/saleor/attribute/migrations/0035_assignedproductattributevalue_product_add_index.py@@ -13,7 +13,8 @@ class Migration(migrations.Migration):operations = [migrations.RunSQL("""- CREATE INDEX IF NOT EXISTS attribute_assignedproductattributevalue_product_id_805656f1+ CREATE INDEX CONCURRENTLY IF NOT EXISTS+ attribute_assignedproductattributevalue_product_id_805656f1ON attribute_assignedproductattributevalue USING btree(product_id ASC NULLS LAST);"""