enum('text_position', ['left', 'right']) ->default('left') ->after('image_path') ->comment('文字區塊位置:left=左側, right=右側'); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('voices', function (Blueprint $table) { $table->dropColumn('text_position'); }); } };