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

**Is your feature request related to a problem? Please describe.** When a (local, under development) migration fails, it is difficult to unwind. It is a two step process: - Figure...

- update to v4.4.1 of the Go driver - rely solely on URI scheme for connection encryption - replace autocommit (`Session#Run`) with transaction functions since the former does not work...

database

Closes #626 Fixes that `Migrate.Drop()` is not clearing the database properly in both the `postgres` and `pgx` database driver.

database

This PR adds support for passing a context to database drivers. I've added `migrate.NewWithContext()` and `migrate.NewWithSourceContext()` which accept a context. For each driver, I've added `OpenWithContext` and `WithInstanceContext` which will...

database

* Channel `*Migration` instead of `interface` on `ret` channel. * Handle creating & closing the `ret` channel inside `runMigrations`. * Handle provider error using a separate channel. * Handle the...

I'm not sure if this is a bug, probably just something on my own end. But I need some help if anyone got any ideas? Would really love to use...

I've added support for the `SchemaName` config parameter for the SQL Server driver. This creates the opportunity to place the migrations table in a different schema. The same as the...

I've noticed, that the table name is not bracket-ed, so that the migration fails whenever the MigrationTable name contains a hypen.

**Is your feature request related to a problem? Please describe.** We would like to be able to load non-transactional data using this tool. **Describe the solution you'd like** Running DML...