execute($sql); $sql="ALTER TABLE qimall_addons_mch_settings add balance_cash_service_fee decimal(10,2) not null default 0 comment '商户提现手续费';"; $this->execute($sql); }catch (\Exception $e){ } } /** * {@inheritdoc} */ public function safeDown() { echo "M230810084956AlterQimallAddonsMchSettings cannot be reverted.\n"; return false; } /* // Use up()/down() to run migration code without a transaction. public function up() { } public function down() { echo "M230810084956AlterQimallAddonsMchSettings cannot be reverted.\n"; return false; } */ }