execute("ALTER TABLE `qimall_payment_trade` ADD COLUMN `refund_fee` decimal(10, 2) NOT NULL default 0 COMMENT '退款金额' ;"); } /** * {@inheritdoc} */ public function safeDown() { echo "M240914091337AddRefundFeeToPaymentTrade cannot be reverted.\n"; return false; } /* // Use up()/down() to run migration code without a transaction. public function up() { } public function down() { echo "M240914091337AddRefundFeeToPaymentTrade cannot be reverted.\n"; return false; } */ }