migrate icon indicating copy to clipboard operation
migrate copied to clipboard

Database migrations. CLI and Golang library.

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

Just ran gofmt -w . on the project root. That's all. https://blog.golang.org/go-fmt-your-code --- > I made this PR with a project going on over at https://github.com/rotblauer/gofmt-att, and it's definitely a...

after getting things setup, it turns out i have no idea what migrate is expecting inside each migration file. I put in the plain SQL commands but the tool dies...

docs
v/3

Hello. I have strange error while using migrate.NewWithDatabaseInstance function. When i'm trying to invoke this function, i'm getting error "file does not exist". Problem is, my directory does exist. Let's...

I'm having trouble running my first migration against a local cockroachdb instance. I created the initial migration. I ran it and I get the following error: `migrate -database postgresql://[email protected]:26257/main?sslmode=disable -path...

Since this repo is no longer maintained, it should probably be [archived](https://help.github.com/articles/archiving-a-github-repository/). This may help make it more obvious, as well.

I did `go build -tags 'postgres' -o /usr/local/bin/migrate github.com/mattes/migrate/cli`, but it seems it still in postgres So when I did 'migrate -verbose -source ./migrations -database mysql://[email protected]:3306/name_db?query up 2017/11/27 16:49:54 error:...

Was trying tool for sqlite3 migration. $cat ./migration/1_init_schema.up.sql CREATE TABLE pets ( name string ); command: $./migrate.linux-amd64 -database "sqlite3" -path ./migration/ up 1 error: no scheme Is this bcoz I...

SQL migrations is a good thing, but likely useless in many cases. Migrate must support go migrations, i.e a function that accepts an instance of the database or a transaction...

Hello Devs, I'm trying to execute the postgres migration sample code below. ``` package main import ( "database/sql" _ "github.com/lib/pq" "github.com/mattes/migrate" "github.com/mattes/migrate/database/postgres" _ "github.com/mattes/migrate/source/file" "fmt" ) func main() { connURLP...

bug
db/postgres