decimal('betting_amount', 10)->default(0)->comment('打码量'); }); DB::statement('ALTER TABLE bot_activity_user MODIFY COLUMN effective_betting_amount decimal(10,2) NOT NULL DEFAULT 0 COMMENT "用户已完成的打码量"'); } /** * Reverse the migrations. * * @return void */ public function down() { // } };