mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-12 16:10:03 +01:00
Update username
This commit is contained in:
parent
cd26fb7289
commit
ff85c92b98
5 changed files with 11 additions and 11 deletions
|
|
@ -32,8 +32,8 @@ RUN go get \
|
||||||
golang.org/x/tools/cmd/vet
|
golang.org/x/tools/cmd/vet
|
||||||
|
|
||||||
# copy source files
|
# copy source files
|
||||||
COPY . $GOPATH/src/github.com/adrianmacneil/dbmate
|
COPY . $GOPATH/src/github.com/amacneil/dbmate
|
||||||
WORKDIR $GOPATH/src/github.com/adrianmacneil/dbmate
|
WORKDIR $GOPATH/src/github.com/amacneil/dbmate
|
||||||
|
|
||||||
# build
|
# build
|
||||||
RUN go get -d -t -v
|
RUN go get -d -t -v
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,8 @@ RUN cd /opt && \
|
||||||
ENV PATH /opt/osxcross/target/bin:$PATH
|
ENV PATH /opt/osxcross/target/bin:$PATH
|
||||||
|
|
||||||
# copy source files
|
# copy source files
|
||||||
COPY . $GOPATH/src/github.com/adrianmacneil/dbmate
|
COPY . $GOPATH/src/github.com/amacneil/dbmate
|
||||||
WORKDIR $GOPATH/src/github.com/adrianmacneil/dbmate
|
WORKDIR $GOPATH/src/github.com/amacneil/dbmate
|
||||||
|
|
||||||
# fetch dependencies
|
# fetch dependencies
|
||||||
RUN go get -d -t -v
|
RUN go get -d -t -v
|
||||||
|
|
|
||||||
10
README.md
10
README.md
|
|
@ -1,6 +1,6 @@
|
||||||
# Dbmate
|
# Dbmate
|
||||||
|
|
||||||
[](https://travis-ci.org/adrianmacneil/dbmate)
|
[](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.
|
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:
|
Install using Homebrew:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ brew tap adrianmacneil/dbmate
|
$ brew tap amacneil/dbmate
|
||||||
$ brew install dbmate
|
$ brew install dbmate
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -30,7 +30,7 @@ $ brew install dbmate
|
||||||
Download the binary directly:
|
Download the binary directly:
|
||||||
|
|
||||||
```sh
|
```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
|
$ chmod +x dbmate
|
||||||
$ mv dbmate /usr/local/bin
|
$ 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
|
```sh
|
||||||
$ mkdir -p bin
|
$ 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
|
$ chmod +x bin/dbmate-heroku
|
||||||
$ git add bin/dbmate-heroku
|
$ git add bin/dbmate-heroku
|
||||||
$ git commit -m "Add dbmate binary"
|
$ git commit -m "Add dbmate binary"
|
||||||
|
|
@ -59,7 +59,7 @@ $ heroku run bin/dbmate-heroku up
|
||||||
Dbmate can be installed directly using `go get`:
|
Dbmate can be installed directly using `go get`:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ go get -u github.com/adrianmacneil/dbmate
|
$ go get -u github.com/amacneil/dbmate
|
||||||
```
|
```
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
dbmate:
|
dbmate:
|
||||||
build: .
|
build: .
|
||||||
volumes:
|
volumes:
|
||||||
- .:/go/src/github.com/adrianmacneil/dbmate
|
- .:/go/src/github.com/amacneil/dbmate
|
||||||
links:
|
links:
|
||||||
- mysql
|
- mysql
|
||||||
- postgres
|
- postgres
|
||||||
|
|
|
||||||
2
mysql.go
2
mysql.go
|
|
@ -3,7 +3,7 @@ package main
|
||||||
import (
|
import (
|
||||||
"database/sql"
|
"database/sql"
|
||||||
"fmt"
|
"fmt"
|
||||||
_ "github.com/adrianmacneil/go-mysql"
|
_ "github.com/amacneil/go-mysql"
|
||||||
"net/url"
|
"net/url"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue