postgres-migrations icon indicating copy to clipboard operation
postgres-migrations copied to clipboard

🐦 A Stack Overflow-inspired PostgreSQL migration library with strict ordering and immutable migrations

Results 40 postgres-migrations issues
Sort by recently updated
recently updated
newest added

PR for #89 Also tested it manually against a codebase on my machine.

Is it possible to specify the schema of the migrations table? I'd like to separate tables by schema, and have separate migrations for each schema. That way, I can do...

This PR adds tests to PR #33 which will ultimately fix a bug where schemas are ignored when checking for the presence of a migrations table. Note: the tests do...

* If a `migrations` table did exist in a schema outside of the search path, `doesTableExist` would return true but the migration would then fail with 'relation "migrations" does not...

I am using schemas to parallelize integration tests (one schema per test worker). Before each test I want to run the following setup: 1. Create a new schema 2. Set...

For my CI pipeline, I would like to be able to dry run migrations so that I can show what migrations will run, then request approval from the user, then...

Because of this line the sql file ends up checking the relative location in this case it's `dist` instead of `node_modules`. Maybe inline this so it can be bundled? Or...

I noticed the `createDb` was marked as deprecated, so I moved to refactor my code to support the newer syntax. In my client I'd like to do the following: ```ts...