diff --git a/Dockerfile b/Dockerfile index 4190442..063774d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,8 +32,8 @@ RUN go get \ golang.org/x/tools/cmd/vet # copy source files -COPY . $GOPATH/src/github.com/adrianmacneil/dbmate -WORKDIR $GOPATH/src/github.com/adrianmacneil/dbmate +COPY . $GOPATH/src/github.com/amacneil/dbmate +WORKDIR $GOPATH/src/github.com/amacneil/dbmate # build RUN go get -d -t -v diff --git a/Dockerfile.build b/Dockerfile.build index bebd1e3..2643cc4 100644 --- a/Dockerfile.build +++ b/Dockerfile.build @@ -25,8 +25,8 @@ RUN cd /opt && \ ENV PATH /opt/osxcross/target/bin:$PATH # copy source files -COPY . $GOPATH/src/github.com/adrianmacneil/dbmate -WORKDIR $GOPATH/src/github.com/adrianmacneil/dbmate +COPY . $GOPATH/src/github.com/amacneil/dbmate +WORKDIR $GOPATH/src/github.com/amacneil/dbmate # fetch dependencies RUN go get -d -t -v diff --git a/README.md b/README.md index 7cadeff..0f73109 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Dbmate -[![Build Status](https://travis-ci.org/adrianmacneil/dbmate.svg?branch=master)](https://travis-ci.org/adrianmacneil/dbmate) +[![Build Status](https://travis-ci.org/amacneil/dbmate.svg?branch=master)](https://travis-ci.org/amacneil/dbmate) Dbmate is a database migration tool, to keep your database schema in sync across multiple developers and your production servers. It is a standalone command line tool, which can be used with any language or framework. This is especially helpful if you are writing many services in different languages, and want to maintain some sanity with consistent development tools. @@ -21,7 +21,7 @@ Dbmate is a database migration tool, to keep your database schema in sync across Install using Homebrew: ```sh -$ brew tap adrianmacneil/dbmate +$ brew tap amacneil/dbmate $ brew install dbmate ``` @@ -30,7 +30,7 @@ $ brew install dbmate Download the binary directly: ```sh -$ curl -sSL -o dbmate https://github.com/adrianmacneil/dbmate/releases/download/v0.1/dbmate-linux-amd64 +$ curl -sSL -o dbmate https://github.com/amacneil/dbmate/releases/download/v0.1/dbmate-linux-amd64 $ chmod +x dbmate $ mv dbmate /usr/local/bin ``` @@ -41,7 +41,7 @@ To use dbmate on Heroku, the easiest method is to store the linux binary in your ```sh $ mkdir -p bin -$ curl -sSL -o bin/dbmate-heroku https://github.com/adrianmacneil/dbmate/releases/download/v0.1/dbmate-linux-amd64 +$ curl -sSL -o bin/dbmate-heroku https://github.com/amacneil/dbmate/releases/download/v0.1/dbmate-linux-amd64 $ chmod +x bin/dbmate-heroku $ git add bin/dbmate-heroku $ git commit -m "Add dbmate binary" @@ -59,7 +59,7 @@ $ heroku run bin/dbmate-heroku up Dbmate can be installed directly using `go get`: ```sh -$ go get -u github.com/adrianmacneil/dbmate +$ go get -u github.com/amacneil/dbmate ``` ## Commands diff --git a/docker-compose.yml b/docker-compose.yml index 2a578f6..fae8be5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ dbmate: build: . volumes: - - .:/go/src/github.com/adrianmacneil/dbmate + - .:/go/src/github.com/amacneil/dbmate links: - mysql - postgres diff --git a/mysql.go b/mysql.go index b8f981d..230fc69 100644 --- a/mysql.go +++ b/mysql.go @@ -3,7 +3,7 @@ package main import ( "database/sql" "fmt" - _ "github.com/adrianmacneil/go-mysql" + _ "github.com/amacneil/go-mysql" "net/url" "strings" )