Files
vigilcare-clinical/scripts/encrypt-existing-patient-phi.sh
T

11 lines
316 B
Bash

#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
echo "Re-save all patients through EF to apply encryption converters..."
dotnet run --project "${ROOT_DIR}/VigilCareClinicalAPI" --no-build -- encrypt-phi
```
```bash
chmod +x scripts/encrypt-existing-patient-phi.sh