scripts/seed-dev-data.sh
Metadata
- Purpose: Automation script used in local development, CI, or deployment flow.
- Domain:
scripts - Language:
bash - Bytes: 217
- Lines: 12
- Content hash (short):
a0c14b89 - Source (start): scripts/seed-dev-data.sh:1
- Source (end): scripts/seed-dev-data.sh:12
Indexed Symbols
No indexed functions/methods detected in this file.
Markdown Headings (if applicable)
No markdown headings detected.
Source Preview
#!/usr/bin/env bash
set -euo pipefail
if [[ -z "${DATABASE_URL:-}" ]]; then
echo "DATABASE_URL is required"
exit 1
fi
psql "${DATABASE_URL}" -v ON_ERROR_STOP=1 -f infra/sql/seed_dev.sql
echo "Seed data loaded"