Update to allow for seeding of database
CI / backend (push) Successful in 9m43s
CI / frontend (push) Successful in 1m52s

This commit is contained in:
2026-08-11 05:29:51 +08:00
parent 1ade75b635
commit 8b1eddb587
9 changed files with 287 additions and 7 deletions
@@ -1,5 +1,10 @@
using Microsoft.EntityFrameworkCore;
/// <summary>
/// Demo-only users with well-known passwords. Invoked only when
/// Seeding:EnableDemoData is true (never in production). Production bootstrap
/// accounts come from BootstrapSeeder + Seeding:Admin/Nurse/Physician config.
/// </summary>
public static class UserSeeder
{
public static readonly Guid SimulationRunnerUserId =