migrate
                                
                                
                                
                                    migrate copied to clipboard
                            
                            
                            
                        Database migrations. CLI and Golang library.
I've heard great things about this package and I was told I might need it. So I read the README and I found that it does DB migration but what...
**Describe the Bug** Can't make GoMigrate link CloudSQL PostgreSQL Instance, because the CloudSQL domain/URL format. **Steps to Reproduce** ``` m, err := migrate.New( "migrate-files-path", "postgres://localhost:5432/database?sslmode=enable") ) m.Up() ``` **Expected Behavior**...
When failing to extract a scheme from a URL, include the URL in the error message. This would make it easier to disambiguate between faulty database URLs and faulty source...
These two logPrintf calls here have a \n newline at the end of the format string. https://github.com/golang-migrate/migrate/blob/511ae9f5b6bea5190b340243169359455281458b/migrate.go#L762-L765 This is leading to empty lines in the log, which I think are...
We've been using `migrate` for a while and we recently ran into an issue where we needed some fairly complex logic that was only possible running custom migrations in `golang`....
Hi Could someone share an article/guidance how to deliver and run migration on production environment? - how to package and deliver artifacts with migration scripts? - should scripts be embedded...
**Describe the Bug** MySQL [does not support](https://dev.mysql.com/doc/refman/8.0/en/cannot-roll-back.html) DDL statements inside a transaction, so, when you drop [all the rows ](https://github.com/golang-migrate/migrate/blob/master/database/mysql/mysql.go#L332) inside the migrations table with a `TRUNCATE`, MySQL will automatically...
**Is your feature request related to a problem? Please describe.** When special characters are used, even if escaped using conventional means, the program fails. **Describe the solution you'd like** Special...
**Describe the Bug** `error: :3: got "(" while expecting ")"` while parsing JSON_VALUE. This is an issue with the underlying Spanner parsing lib, which has been fixed in https://github.com/googleapis/google-cloud-go/pull/5173 **Steps...
Installation documents not work!