EENE Dashboard upload to Gitea

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
EENE Dashboard
2026-06-17 16:59:34 +09:00
parent cf72281c6d
commit b3f2da203b
138 changed files with 13013 additions and 1929 deletions

15
scripts/stop-local-db.ps1 Normal file
View File

@@ -0,0 +1,15 @@
param([string]$Root = '')
. "$PSScriptRoot\db-local.ps1"
if (-not $Root) { $Root = Get-ProjectRoot -FromScript $PSScriptRoot }
$pgBin = Find-PgBin
if (-not $pgBin) { exit 0 }
$pgData = Get-PgDataDir -Root $Root
if (-not (Test-Path (Join-Path $pgData 'PG_VERSION'))) { exit 0 }
$pgCtl = Join-Path $pgBin 'pg_ctl.exe'
& $pgCtl -D $pgData stop -m fast 2>$null
exit 0