migrate icon indicating copy to clipboard operation
migrate copied to clipboard

Database migrations. CLI and Golang library.

Results 408 migrate issues
Sort by recently updated
recently updated
newest added

**Describe the Bug** Multiple vulnerabilities were reported by image scan. I've scanned [migrate/migrate:v4.15.2](https://hub.docker.com/layers/migrate/migrate/migrate/v4.15.2/images/sha256-0ab1f7d276be40249640d34aad0978270c2c7654681c054a2e20b82ccf8d5dc6?context=explore) (current `latest`) with [Grype](https://github.com/anchore/grype) and I saw some vulnerabilities reported. ``` NAME INSTALLED FIXED-IN TYPE VULNERABILITY SEVERITY...

**Describe the Bug** I have a migration as the 01 SQL file with the following content: ```sql CREATE SCHEMA IF NOT EXISTS my_schema; ... ``` And then in my code...

**Is your feature request related to a problem? Please describe.** The feature will allow us to use a generic container and yet pull artifacts from our OCI registry, today we...

**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] The current implementation is...

Similar methods have already been implemented for the mysql and postgres database. This adds `WithConnection(ctx context.Context, conn *sql.Conn, config *Config) (*SQLServer, error)` to the SQL Server database driver as well....

Hello, as I mentioned in https://github.com/golang-migrate/migrate/pull/404, I need this functionality for a project I am working on. This program is great; I really like the design. This PR adds the...

I am getting cant acquire lock error while connecting to mysql db and during schema migration

**Describe the Bug** Using the migrate tool with the newest docker image `postgres:15` fails when running the command below ```migrate -database "postgres://${NEW_PGUSER}:${NEW_PGPASSWORD}@${PGHOST}:${PGPORT}/${NEW_PGDATABASE}?sslmode=disable" -path scripts up``` with the error ```pq: permission...

Over time, there are too many migrations, thousands... This makes navigation worse. Therefore, it is advisable to group them, for example, in folders by months/years, etc. Added recursive suffix to...

Without this I got a missing driver error.