Treasury & Bank Transfer Management System — سامانه مدیریت خزانهداری و حوالههای بانکی
phase-7-sql-readonly-ux-20261015
ci/public-windows-bridge-probe-20261017
ci/windows-dispatch-bootstrap-20261016
ci/windows-dual-app-lab-20261016
dev/v7-production-failclosed-20261021
feature/reconciliation-guard-20261013
main
phase-1-foundation
phase-1-implementation
phase-2-treasury-core
phase-3-banking-reconciliation
phase-4-operations-enterprise-ux
phase-5-hardening-release
phase-6-production-platform
phase-7-production-infrastructure-bank-golive
phase-7-sql-readonly-ux-20261015
transfer-exe-to-drive-20261006
| 1 | param([string]$DatabaseUrl=$env:DATABASE_URL) |
| 2 | if(-not $DatabaseUrl){Write-Error 'DATABASE_URL is required for real PostgreSQL RLS integration proof'; exit 2} |
| 3 | if(-not (Get-Command psql -ErrorAction SilentlyContinue)){Write-Error 'psql is required';exit 2} |
| 4 | $env:PGOPTIONS='-c app.tenant_id=t1' |
| 5 | psql $DatabaseUrl -v ON_ERROR_STOP=1 -f migrations/001_production_core.sql |
| 6 | if($LASTEXITCODE -ne 0){exit $LASTEXITCODE} |
| 7 | Write-Output 'Migration applied. Execute environment-specific cross-tenant fixture verification before recording production evidence.' |