删除座驾旧方案空迁移
This commit is contained in:
@@ -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
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user