pgschema icon indicating copy to clipboard operation
pgschema copied to clipboard

Terraform-style, declarative Postgres schema migration. Agent friendly.

Results pgschema issues
Sort by recently updated
recently updated
newest added

Continuing on with #59 we've found that when a index is created on a table with characters in the index name that would require the index name to be double...

Continuing on with #59 this one is pretty hard to describe but I have managed to pare it down to a basic example. In this fairly contrived example (you'll have...

Continuing from #59 we've noticed that if a foreign key is installed with a name, as is common in some frameworks such as Ruby on Rails / ActiveRecord the name...

When defining a GENERATED ALWAYS column with the NOT NULL constraint `pgschema dump` does not preserve the `NOT NULL` constraint: ```sql create table some_table ( id serial primary key, name...

When we apply a default value that includes some kind of more complex expression `pgschema dump` seems to generate invalid SQL. Here is the example I have: ```sql create table...

Hello, I've been able to successfully dump a function definition that is roughly defined as this: ```sql CREATE FUNCTION stable_id(entity_id uuid, value character varying) RETURNS uuid LANGUAGE sql IMMUTABLE AS...

The following database definition illustrates an example of a cross-schema foreign key constraint: ```sql create schema some_schema; create table public.some_table ( id serial primary key ); create table some_schema.some_other_table (...

I am trying to use the latest V1.3.0 but I am getting the following error ``` ./pgschema --help bash: ./pgschema: cannot execute: required file not found

It looks like the body of a table function is not dumped by `pgschema dump`. Here is an example: ```sql CREATE FUNCTION days_since_special_date() RETURNS SETOF timestamptz LANGUAGE sql STABLE PARALLEL...

Given the following database definition: ```sql create schema some_schema; create table public.some_table (id serial primary key); create view some_schema.some_view as select * from public.some_table; ``` `pgschema dump --schema some_schema` has...