删除座驾旧方案空迁移

This commit is contained in:
pllx
2026-04-30 10:05:19 +08:00
parent b60f3615c1
commit 09a2b0d85f
2 changed files with 1 additions and 29 deletions
@@ -1,28 +0,0 @@
<?php
/**
* 文件功能:保留旧迁移文件名但不再扩展商店表。
*
* 座驾已经改为独立 rides 模块,本迁移保持空操作以避免新环境继续污染 shop_items。
*/
use Illuminate\Database\Migrations\Migration;
return new class extends Migration
{
/**
* 方法功能:不再向商店表添加座驾字段。
*/
public function up(): void
{
//
}
/**
* 方法功能:空迁移无需回滚结构。
*/
public function down(): void
{
//
}
};
+1 -1
View File
@@ -372,7 +372,7 @@ Route::middleware(['chat.auth'])->group(function () {
->name('shop.buy');
Route::post('/shop/rename', [\App\Http\Controllers\ShopController::class, 'rename'])->name('shop.rename');
// ---- 座驾(独立页面,复用商店购买记录)----
// ---- 座驾(独立页面,独立座驾购买记录)----
Route::get('/rides/items', [\App\Http\Controllers\RideController::class, 'items'])->name('rides.items');
Route::post('/rides/buy', [\App\Http\Controllers\RideController::class, 'buy'])
->middleware('throttle:chat-shop-buy')