Skip to content
Permalink
Browse files

Merge branch 'b-6.x'

  • Loading branch information
Sieg committed Nov 15, 2019
2 parents f64a6ea + 6c8f69f commit 172a5ea614dad988fba030b2df3cbf47f34dc8f9
Showing with 28 additions and 1 deletion.
  1. +1 −0 CHANGELOG.md
  2. +1 −1 source/Setup/Sql/database_schema.sql
  3. +26 −0 source/migration/data/Version20191007144155.php
@@ -83,6 +83,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
- Fixed missed deprecated getConfig and getSession method usages [PR-721](https://github.com/OXID-eSales/oxideshop_ce/pull/721)
- Improve oxseo::OXOBJECTID index to fit current queries [PR-466](https://github.com/OXID-eSales/oxideshop_ce/pull/466)
## [6.5.0] - 2019-11-07
@@ -1360,7 +1360,7 @@ CREATE TABLE `oxseo` (
`OXTIMESTAMP` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP COMMENT 'Timestamp',
PRIMARY KEY (`OXIDENT`, `OXSHOPID`, `OXLANG`),
UNIQUE KEY search (`OXTYPE`, `OXOBJECTID`, `OXSHOPID`, `OXLANG`,`OXPARAMS`),
KEY `OXOBJECTID` (`OXLANG`,`OXOBJECTID`,`OXSHOPID`),
KEY `OXOBJECTID` (`OXOBJECTID`,`OXSHOPID`, `OXLANG`),
KEY `SEARCHSTD` (OXSTDURL(100),`OXSHOPID`),
KEY `SEARCHSEO` (OXSEOURL(100))
) ENGINE=InnoDB COMMENT 'Seo urls information';
@@ -0,0 +1,26 @@
<?php declare(strict_types=1);
namespace OxidEsales\EshopCommunity\Migrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20191007144155 extends AbstractMigration
{
public function up(Schema $schema) : void
{
$query = "ALTER TABLE oxseo
DROP INDEX `OXOBJECTID`,
ADD INDEX `OXOBJECTID` (`OXOBJECTID`,`OXSHOPID`,`OXLANG`)";
$this->addSql($query);
}
public function down(Schema $schema) : void
{
// this down() migration is auto-generated, please modify it to your needs
}
}

0 comments on commit 172a5ea

Please sign in to comment.
You can’t perform that action at this time.