Prestashop -Änderungstabelle, wenn nicht existiert

$columnExists = Db::getInstance()->executeS('SHOW COLUMNS FROM `' . _DB_PREFIX_ . 'orders`  LIKE \'sendnow\'');

if (empty($columnExists)) {
    $sql[] = 'ALTER TABLE `' . _DB_PREFIX_ . 'orders`
            ADD sendnow tinyInt(1);';
}
Calm Cottonmouth