createNewTable example



class Migrations_Migration408 extends Shopware\Components\Migrations\AbstractMigration
{
    public function up($modus)
    {
        $this->createNewTable();
        $this->prepareOldData();
        $this->migrateData();
        $this->cleanUp();
    }

    /** * @return string */
    protected function createNewTable()
    {
        $this->addSql('DROP TABLE IF EXISTS s_article_configurator_price_variations');

        
Home | Imprint | This part of the site doesn't use cookies.