Add remain services and fixes
This commit is contained in:
@@ -11,12 +11,17 @@ public static class DbResetHelper
|
||||
try
|
||||
{
|
||||
await db.Database.ExecuteSqlRawAsync(@"
|
||||
SET lock_timeout = '3s';
|
||||
TRUNCATE TABLE sepsis_bundle_elements, sepsis_bundles,
|
||||
reconciliation_alerts, outbox_events, orders,
|
||||
clinical_alerts, news2_scores, observations, encounters,
|
||||
alert_thresholds, patients
|
||||
RESTART IDENTITY CASCADE;
|
||||
DELETE FROM sepsis_bundle_elements;
|
||||
DELETE FROM sepsis_bundles;
|
||||
DELETE FROM reconciliation_alerts;
|
||||
DELETE FROM outbox_events;
|
||||
DELETE FROM orders;
|
||||
DELETE FROM clinical_alerts;
|
||||
DELETE FROM news2_scores;
|
||||
DELETE FROM observations;
|
||||
DELETE FROM encounters;
|
||||
DELETE FROM alert_thresholds;
|
||||
DELETE FROM patients;
|
||||
");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user