Skip to content

Commit 6c37797

Browse files
committed
Docs: Reorder 4.6.22 Discounts update section and remove dedicated file
1 parent c25ae0e commit 6c37797

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

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

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -395,26 +395,6 @@ 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-
418398
## 4.6.20
419399

420400
### Policy changes
@@ -546,6 +526,26 @@ To use the [latest features](ibexa_dxp_v4.6.md) added to them, update them separ
546526
REFERENCES ezuser (contentobject_id) ON UPDATE CASCADE ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE;
547527
```
548528

529+
## 4.6.22
530+
531+
### Database update
532+
533+
Run the following scripts:
534+
535+
=== "MySQL"
536+
537+
``` sql
538+
alter table ibexa_discount add override_prioritization tinyint(1) not null default 0;
539+
create index ibexa_discount_prioritization_idx on ibexa_discount (override_prioritization, type, priority);
540+
```
541+
542+
=== "PostgreSQL"
543+
544+
``` sql
545+
alter table ibexa_discount add override_prioritization boolean not null default false;
546+
create index ibexa_discount_prioritization_idx on ibexa_discount (override_prioritization, type, priority);
547+
```
548+
549549
=== "AI actions"
550550

551551
Run the following command to get the latest version:

0 commit comments

Comments
 (0)