Make changes to total scores table to have subscores for seating and for advancement.

This commit is contained in:
Matt Young 2025-06-12 00:09:05 -05:00
parent f0f8038e8a
commit 3c545f0dce
2 changed files with 3 additions and 2 deletions

View File

@ -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();
});
}

View File

@ -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');