@@ -427,30 +427,6 @@ No additional steps needed.
427427 psql <database_name> < vendor/ibexa/installer/upgrade/db/postgresql/ibexa-4.6.23-to-4.6.24.sql
428428 ` ` `
429429
430- For Commerce having the [Discounts LTS Update](discounts_guide.md) already installed, run this additional update queries :
431-
432- === "MySQL"
433-
434- ` ` ` sql
435- ALTER TABLE ibexa_discount
436- ADD indexed_at DATETIME DEFAULT NULL COMMENT '(DC2Type:datetime_immutable)';
437-
438- CREATE INDEX ibexa_discount_indexed_at_idx
439- ON ibexa_discount (indexed_at);
440- ` ` `
441-
442- === "PostgreSQL"
443-
444- ` ` ` sql
445- ALTER TABLE ibexa_discount
446- ADD indexed_at TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL;
447-
448- COMMENT ON COLUMN ibexa_discount.indexed_at IS '(DC2Type:datetime_immutable)';
449-
450- CREATE INDEX ibexa_discount_indexed_at_idx
451- ON ibexa_discount (indexed_at);
452- ` ` `
453-
454430[[% include 'snippets/update/notify_support.md' %]]
455431
456432With the product updated to the latest version, you can now finish the update process or proceed to updating the LTS Updates packages.
@@ -622,6 +598,33 @@ To use the [latest features](ibexa_dxp_v4.6.md) added to them, update them separ
622598 CREATE INDEX ibexa_discount_prioritization_idx ON ibexa_discount (override_prioritization, type, priority);
623599 ALTER TABLE ibexa_discount_code ADD global_limit INT DEFAULT NULL;
624600 ` ` `
601+ # ## Discounts v4.6.24
602+
603+ # ### Database update
604+
605+ Run the following scripts :
606+
607+ === "MySQL"
608+
609+ ` ` ` sql
610+ ALTER TABLE ibexa_discount
611+ ADD indexed_at DATETIME DEFAULT NULL COMMENT '(DC2Type:datetime_immutable)';
612+
613+ CREATE INDEX ibexa_discount_indexed_at_idx
614+ ON ibexa_discount (indexed_at);
615+ ` ` `
616+
617+ === "PostgreSQL"
618+
619+ ` ` ` sql
620+ ALTER TABLE ibexa_discount
621+ ADD indexed_at TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL;
622+
623+ COMMENT ON COLUMN ibexa_discount.indexed_at IS '(DC2Type:datetime_immutable)';
624+
625+ CREATE INDEX ibexa_discount_indexed_at_idx
626+ ON ibexa_discount (indexed_at);
627+ ` ` `
625628
626629=== "AI actions"
627630
0 commit comments