2026-02-22 17:40:07 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
|
|
MIGRATIONS_DIR="veza-backend-api/migrations"
|
chore(release): v0.602 — Payout, Dette Technique & Tests E2E
- 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
2026-02-23 21:32:01 +00:00
|
|
|
OUTPUT_FILE="veza-backend-api/migrations/baseline_v0601.sql"
|
2026-02-22 17:40:07 +00:00
|
|
|
|
chore(release): v0.602 — Payout, Dette Technique & Tests E2E
- 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
2026-02-23 21:32:01 +00:00
|
|
|
{
|
|
|
|
|
echo "-- Baseline SQL generated from migrations 001-113"
|
2026-02-22 17:40:07 +00:00
|
|
|
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;"
|
chore(release): v0.602 — Payout, Dette Technique & Tests E2E
- 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
2026-02-23 21:32:01 +00:00
|
|
|
} > "$OUTPUT_FILE"
|
|
|
|
|
echo "Baseline written to $OUTPUT_FILE"
|