- Stripe Connect: onboarding, balance, SellerDashboardView - Interceptors: auth.ts, error.ts extracted, facade - Grafana: dashboards enriched (p50, top endpoints, 4xx, WS, commerce) - E2E commerce: product->order->review->invoice - SMOKE_TEST_V0602, RETROSPECTIVE_V0602, PAYOUT_MANUAL - Archive V0_602 scope, V0_603 placeholder, SCOPE_CONTROL v0.603 - Fix sanitizer regex (Go no backreferences) - Marketplace test schema: product_licenses, product_images, orders, licenses
30 lines
811 B
Bash
Executable file
30 lines
811 B
Bash
Executable file
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
MIGRATIONS_DIR="veza-backend-api/migrations"
|
|
OUTPUT_FILE="veza-backend-api/migrations/baseline_v0601.sql"
|
|
|
|
{
|
|
echo "-- Baseline SQL generated from migrations 001-113"
|
|
echo "-- Generated on: $(date -u '+%Y-%m-%d %H:%M:%S UTC')"
|
|
echo "-- DO NOT EDIT: This file is auto-generated"
|
|
echo ""
|
|
echo "BEGIN;"
|
|
echo ""
|
|
|
|
for migration in $(ls "$MIGRATIONS_DIR"/*.sql 2>/dev/null | sort); do
|
|
basename_file=$(basename "$migration")
|
|
if [[ "$basename_file" == "baseline_"* ]]; then
|
|
continue
|
|
fi
|
|
echo "-- ============================================"
|
|
echo "-- Migration: $basename_file"
|
|
echo "-- ============================================"
|
|
cat "$migration"
|
|
echo ""
|
|
echo ""
|
|
done
|
|
|
|
echo "COMMIT;"
|
|
} > "$OUTPUT_FILE"
|
|
echo "Baseline written to $OUTPUT_FILE"
|