pg-schema-diff icon indicating copy to clipboard operation
pg-schema-diff copied to clipboard

Go library for diffing Postgres schemas and generating SQL migrations

Results 70 pg-schema-diff issues
Sort by recently updated
recently updated
newest added

### Describe the feature Have pg-schema-diff accommodate comments on database objects in its diffing, planning, etc. ### Motivation Preserving technical commentary is essential to human understanding of the database. "Make...

enhancement

### Describe the bug** Plan generation for foreign keys between tables in separate schemas fails. The produced plan does not schema-qualify the reftable, and the statement fails with a table...

bug

Could an option be added to allow these? I realize that pg-schema-diff doesn't parse dependencies of UDFs, but my tool does, so it's not an issue. I also understand that...

### Describe the feature As mentioned [here](https://github.com/stripe/pg-schema-diff/issues/129#issuecomment-2096426847), add support for diffing [domains](https://www.postgresql.org/docs/current/sql-createdomain.html). A domain is a type with a constraint. ### Motivation Currently when running `pg-schema-diff` I get errors like...

enhancement

Hi there 👋 Because of our infra setup, I don't have direct access to the databases I want to diff. That's why I opted for getting pg_dumps of both DBs...

Bumps the go_modules group with 1 update in the / directory: [golang.org/x/crypto](https://github.com/golang/crypto). Updates `golang.org/x/crypto` from 0.31.0 to 0.35.0 Commits 7292932 ssh: limit the size of the internal packet queue while...

dependencies
go

### Description Adding a Go script that will do the whitespace tab to four spaces replacement for the acceptance test files. ### Motivation Resolves issue #148 ### Testing I ran...

[//]: # (README: Ensure you've read the CONTRIBUTING.MD and that your commits are signed) ### Description Detect and add as dependency functions that can be used as default. I'm really...

**Describe the feature** Provide a thorough description of the feature. If possible, include examples of the feature and its behavior. For example, if it's a new command flag, provide examples...

enhancement

### Description This PR introduces a new flag, `--template-db`, allowing users to specify the template database used when creating a temporary database. Previously, `template0` was hard-coded, limiting the ability to...