execute($sql); $sql="update qimall_addons_coupon set store_id='' where store_id = '0'"; $this->execute($sql); }catch (\Exception $e){ } } /** * {@inheritdoc} */ public function safeDown() { echo "M230217083016AlterQimallAddonsCoupon cannot be reverted.\n"; return false; } /* // Use up()/down() to run migration code without a transaction. public function up() { } public function down() { echo "M230217083016AlterQimallAddonsCoupon cannot be reverted.\n"; return false; } */ }