migrate
                                
                                
                                
                                    migrate copied to clipboard
                            
                            
                            
                        Database migrations. CLI and Golang library.
**Is your feature request related to a problem? Please describe.** My company has a Redshift DB that is shared by a small number of services. I'd like to add support...
# Questions and feedback are most welcome! ## Is your feature request related to a problem? Please describe. Developers need to detect when concurrent changes are made to migrations during...
**Is your feature request related to a problem? Please describe.** At the moment, all migrations files are required to be in directory ex."file://xyz", subdirectories are ignored. Developer need to add...
**Is your feature request related to a problem? Please describe.** This package does not provide "List migrations" feature. This would likely be very useful especially for people using it interactivly,...
I'm trying to run the migrations with `migrate -path $filepath -database postgres://postgres:password@db:5432/dev?sslmode=disable up` where `$filepath` is a path to my sql files. The contents are `1526653772_init_down.sql` and `1526653772_init_up.sql`. But it's...
**Describe the Bug** CONTRIBUTING.md [mentions](https://github.com/golang-migrate/migrate/blob/331a15d92a86e002ce5043e788cc2ca287ab0cc2/CONTRIBUTING.md?plain=1#L18) that it's possible to run tests for specific database only by providing `DATABASE` variable. However, the `DATABASE_TEST` variable is not used anywhere in the Makefile,...
**Describe the Bug** I want to run migrate in shell script (`resetdb.sh`) like this: ```bash #!/usr/bin/env bash docker rm sync-backend-db --force docker run --name sync-backend-db -e POSTGRES_PASSWORD=dbpass123 -e POSTGRES_DB=sync_backend_db -d...
Thank you for your great migration tool! It helps me lots everyday. The commit fixes a small type in a code comment in sqlserver.go.
Add support for additional comment prefix types, and fix bounds checking error on schema file parsing
**Describe the Bug** When `search_path` doesn't contain `public` upon completion of migrations script, migrations fails - but the changes are not rolled back (output below) **Steps to Reproduce** Steps to...