Skip to content

Add pnpm db:refresh-dev — reset dev database to a prod copy#130

Open
peetzweg wants to merge 1 commit into
mainfrom
dev-db-refresh-script
Open

Add pnpm db:refresh-dev — reset dev database to a prod copy#130
peetzweg wants to merge 1 commit into
mainfrom
dev-db-refresh-script

Conversation

@peetzweg

Copy link
Copy Markdown
Owner

Phase 3 helper for peetzweg/devops#4: previews and local dev use commit_history_dev; this makes resetting it to a fresh prod copy a single command (pnpm db:refresh-dev). The dump/restore runs entirely inside the Postgres container via the coolify SSH alias — nothing is transferred locally.

This PR's preview also doubles as the verification vehicle for the repointed preview-scoped DATABASE_URL (the #129 preview vanished on merge before we could test it).

Previews and local dev now point at commit_history_dev (devops#4
Phase 3). This makes the reset a one-liner: pg_dump --clean | psql
runs entirely inside the Postgres container over the coolify SSH
alias, nothing crosses the wire.
@git-hub-peetzweg

git-hub-peetzweg Bot commented Jul 17, 2026

Copy link
Copy Markdown

The preview deployment for peetzweg/commit-history:coolify-bwc8csg4w8gkkgcg8s404cks is ready. 🟢

Open Preview | Open Build Logs | Open Application Logs

Last updated at: 2026-07-17 07:09:53 CET

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant