supabase / dbdev

Database Package Registry for Postgres
https://database.dev/
Apache License 2.0
370 stars 19 forks source link

fix: update paths were not installed in dbdev install command #132

Closed imor closed 11 months ago

imor commented 11 months ago

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

pgtle update paths were not installed when running dbdev install command

What is the new behavior?

Update paths will be correctly installed.

Additional context

The pgtle.extension_update_paths function returns values for source and target columns even when no update paths are installed, although their path column is null. Adding the where path is not null clause filters out those unwanted paths.

vercel[bot] commented 11 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
dbdev ✅ Ready (Inspect) Visit Preview Nov 2, 2023 9:24am