Skip to content

Commit

Permalink
Merge pull request #560 from AdrienPlx/patch-1
Browse files Browse the repository at this point in the history
Add index to `PREFIX_orders.invoice_date`
  • Loading branch information
Hlavtox authored Dec 28, 2023
2 parents d033afe + 5e760cd commit 3dd77c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions upgrade/sql/9.0.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ ALTER TABLE `PREFIX_feature_flag` ADD `type` VARCHAR(64) DEFAULT 'env,dotenv,db'

/* Increase size of customized data - https://github.com/PrestaShop/PrestaShop/pull/31109 */
ALTER TABLE `PREFIX_customized_data` MODIFY `value` varchar(1024) NOT NULL;

/* Request optimization for back office KPI and others */
ALTER TABLE `PREFIX_orders` ADD INDEX `invoice_date` (`invoice_date`);

0 comments on commit 3dd77c6

Please sign in to comment.