cli icon indicating copy to clipboard operation
cli copied to clipboard

feat(DEVWF-935): add deno script for running pg-delta

Open sweatybridge opened this issue 2 months ago • 1 comments

What kind of change does this PR introduce?

feature

What is the new behavior?

git clone [email protected]:supabase/pg-delta.git
cd cli/internal/db/diff/delta
deno i
# Pull remote schema as a local migration
export SOURCE=postgres://postgres:[email protected]: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.

sweatybridge avatar Dec 10 '25 15:12 sweatybridge

Pull Request Test Coverage Report for Build 20103216126

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 5 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.03%) to 56.212%

Files with Coverage Reduction New Missed Lines %
internal/gen/keys/keys.go 5 12.9%
<!-- Total: 5
Totals Coverage Status
Change from base Build 20098526635: -0.03%
Covered Lines: 6832
Relevant Lines: 12154

💛 - Coveralls

coveralls avatar Dec 10 '25 15:12 coveralls