Skip to content

Conversation

@sweatybridge
Copy link
Contributor

@sweatybridge sweatybridge commented Dec 10, 2025

What kind of change does this PR introduce?

feature

What is the new behavior?

git clone git@github.com:supabase/pg-delta.git
cd cli/internal/db/diff/delta
deno i
# Pull remote schema as a local migration
export SOURCE=postgres://postgres:postgres@127.0.0.1:54322/postgres
export TARGET=<db-connection-string>
deno run -A main.ts | supabase migrations new my_schema

Additional context

Add any other context or screenshots.

@coveralls
Copy link

coveralls commented Dec 10, 2025

Pull Request Test Coverage Report for Build 20457319987

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 48 (0.0%) changed or added relevant lines in 2 files are covered.
  • 5 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.2%) to 55.845%

Changes Missing Coverage Covered Lines Changed/Added Lines %
cmd/db.go 0 4 0.0%
internal/db/diff/pgdelta.go 0 44 0.0%
Files with Coverage Reduction New Missed Lines %
internal/gen/keys/keys.go 5 12.9%
Totals Coverage Status
Change from base Build 20457218033: -0.2%
Covered Lines: 6836
Relevant Lines: 12241

💛 - Coveralls

@sweatybridge sweatybridge changed the title feat: add deno script for running pg-delta feat(DEVWF-935): add deno script for running pg-delta Dec 10, 2025
@sweatybridge sweatybridge marked this pull request as ready for review December 23, 2025 09:43
@sweatybridge sweatybridge requested a review from a team as a code owner December 23, 2025 09:43
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.

3 participants