Skip to content

Commit c25ae0e

Browse files
committed
Docs: Add database update for Discounts in v4.6.22
1 parent b88db31 commit c25ae0e

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
No additional steps needed.

docs/update_and_migration/from_4.6/update_from_4.6.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,26 @@ To use the [latest features](ibexa_dxp_v4.6.md) added to them, update them separ
395395

396396
Then apply manually the changes described below.
397397

398+
## 4.6.22
399+
400+
### Database update
401+
402+
Run the following scripts:
403+
404+
=== "MySQL"
405+
406+
``` sql
407+
alter table ibexa_discount add override_prioritization tinyint(1) not null default 0;
408+
create index ibexa_discount_prioritization_idx on ibexa_discount (override_prioritization, type, priority);
409+
```
410+
411+
=== "PostgreSQL"
412+
413+
``` sql
414+
alter table ibexa_discount add override_prioritization boolean not null default false;
415+
create index ibexa_discount_prioritization_idx on ibexa_discount (override_prioritization, type, priority);
416+
```
417+
398418
## 4.6.20
399419

400420
### Policy changes

0 commit comments

Comments
 (0)