diff --git a/database/migrations/2025_06_12_042434_create_entry_total_scores_table.php b/database/migrations/2025_06_12_042434_create_entry_total_scores_table.php index 308408d..467c2dd 100644 --- a/database/migrations/2025_06_12_042434_create_entry_total_scores_table.php +++ b/database/migrations/2025_06_12_042434_create_entry_total_scores_table.php @@ -17,7 +17,8 @@ return new class extends Migration $table->foreignIdFor(Entry::class)->constrained()->cascadeOnDelete()->cascadeOnUpdate(); $table->decimal('seating_total', 9, 6); $table->decimal('advancement_total', 9, 6); - $table->json('subscore_totals'); + $table->json('seating_subscore_totals'); + $table->json('advancement_subscore_totals'); $table->timestamps(); }); } diff --git a/routes/web.php b/routes/web.php index 8ca8d03..8221a7c 100644 --- a/routes/web.php +++ b/routes/web.php @@ -12,7 +12,7 @@ require __DIR__.'/tabulation.php'; require __DIR__.'/user.php'; require __DIR__.'/nominationEnsemble.php'; -Route::get('/test', [TestController::class, 'flashTest'])->middleware('auth', 'verified'); +Route::get('/test', [TestController::class, 'test'])->middleware('auth', 'verified'); Route::view('/home', 'welcome')->middleware('guest')->name('landing'); Route::view('/', 'landing')->name('home');