execute("ALTER TABLE qimall_addons_store_verification_coupons_user add clerk_code VARCHAR(12) not null default '' comment '核销码';"); StoreVerificationCouponsUser::updateCode(); } /** * {@inheritdoc} */ public function safeDown() { echo "M240312091858AlterQimallAddonsStoreVerificationCouponsUser cannot be reverted.\n"; return false; } /* // Use up()/down() to run migration code without a transaction. public function up() { } public function down() { echo "M240312091858AlterQimallAddonsStoreVerificationCouponsUser cannot be reverted.\n"; return false; } */ }