20200522000000_syntax_check.php 703 Bytes
Newer Older
Felix's avatar
Felix committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<?php
/**
 * syntax checks
 *
 * @author fm
 * @created Thu, 18 Apr 2019 14:47:00 +0200
 */

use JTL\Update\IMigration;
use JTL\Update\Migration;

/**
 * Class Migration_20200522000000
 */
class Migration_20200522000000 extends Migration implements IMigration
{
    protected $author      = 'fm';
    protected $description = 'Syntax checks';

Falk@JTL's avatar
Falk@JTL committed
20
    /** @noinspection SqlWithoutWhere */
Felix's avatar
Felix committed
21 22
    public function up()
    {
Falk@JTL's avatar
Falk@JTL committed
23 24 25
        // removed syntax check - set only to unchecked SHOP-4630
        $this->execute('UPDATE texportformat SET nFehlerhaft = -1');
        $this->execute('UPDATE temailvorlage SET nFehlerhaft = -1');
Felix's avatar
Felix committed
26 27
    }

Felix's avatar
phpdoc  
Felix committed
28 29 30
    /**
     * @inheritDoc
     */
Felix's avatar
Felix committed
31 32 33 34
    public function down()
    {
    }
}