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-2024
*/
namespace Aimeos\Upscheme\Task;
class IndexDropTextWithoutId extends Base
{
public function before() : array
return ['Index'];
}
public function up()
$db = $this->db( 'db-product' );
if( $db->hasColumn( 'mshop_index_text', 'id' ) ) {
return;
$this->info( 'Droping mshop_index_text table without ID column', 'vv' );
$db->dropTable( 'mshop_index_text' );