测试: 完成游戏娱乐模块 (Gomoku, HorseRace, Lottery 等) 功能全量联调测试与代码格式化
This commit is contained in:
@@ -67,7 +67,7 @@ return new class extends Migration
|
||||
|
||||
// 联合唯一索引:每个用户每条反馈只能赞同一次
|
||||
$table->unique(['feedback_id', 'user_id'], 'uq_vote');
|
||||
$table->index('feedback_id', 'idx_feedback_id');
|
||||
$table->index('feedback_id');
|
||||
});
|
||||
|
||||
// ——— 表3:补充评论 ———
|
||||
@@ -83,7 +83,7 @@ return new class extends Migration
|
||||
$table->boolean('is_admin')->default(false)->comment('是否为 id=1 管理员的官方回复');
|
||||
$table->timestamps();
|
||||
|
||||
$table->index('feedback_id', 'idx_feedback_id');
|
||||
$table->index('feedback_id');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user