for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @license LGPLv3, https://opensource.org/licenses/LGPL-3.0
* @copyright Aimeos (aimeos.org), 2020-2021
*/
namespace Aimeos\Upscheme\Task;
class IndexMigrateTextInnodb extends Base
{
public function before() : array
return ['TablesMigrateSiteid'];
}
public function up()
$db = $this->db( 'db-product' );
if( !$db->hasTable( 'mshop_index_text' ) ) {
return;
$this->info( 'Migrate mshop_index_text table engine to InnoDB', 'v' );
$db->for( 'mysql', 'ALTER TABLE mshop_index_text ENGINE=InnoDB' );