Skip to content

Commit e38e42a

Browse files
committed
Update namespace
1 parent 68654aa commit e38e42a

File tree

14 files changed

+26
-23
lines changed

14 files changed

+26
-23
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> SQL Schema migration tool for [Go](https://golang.org/). Based on [gorp](https://github.com/go-gorp/gorp) and [goose](https://bitbucket.org/liamstask/goose).
44
5-
[![Build Status](https://travis-ci.org/rubenv/sql-migrate.svg?branch=master)](https://travis-ci.org/rubenv/sql-migrate) [![GoDoc](https://godoc.org/github.com/rubenv/sql-migrate?status.svg)](https://godoc.org/github.com/rubenv/sql-migrate)
5+
[![Build Status](https://travis-ci.org/aman00323/sql-migrate.svg?branch=master)](https://travis-ci.org/aman00323/sql-migrate) [![GoDoc](https://godoc.org/github.com/aman00323/sql-migrate?status.svg)](https://godoc.org/github.com/aman00323/sql-migrate)
66

77
Using [modl](https://github.com/jmoiron/modl)? Check out [modl-migrate](https://github.com/rubenv/modl-migrate).
88

@@ -22,7 +22,7 @@ Using [modl](https://github.com/jmoiron/modl)? Check out [modl-migrate](https://
2222
To install the library and command line program, use the following:
2323

2424
```bash
25-
go get -v github.com/rubenv/sql-migrate/...
25+
go get -v github.com/aman00323/sql-migrate/...
2626
```
2727

2828
## Usage
@@ -138,7 +138,7 @@ Oracle Driver is [oci8](https://github.com/mattn/go-oci8), it is not pure Go cod
138138
To install the library and command line program, use the following:
139139

140140
```bash
141-
go get -tags oracle -v github.com/rubenv/sql-migrate/...
141+
go get -tags oracle -v github.com/aman00323/sql-migrate/...
142142
```
143143

144144
```yml
@@ -158,7 +158,7 @@ To install the library and command line program, use the following:
158158

159159
1. Install sql-migrate
160160
```bash
161-
go get -tags godror -v github.com/rubenv/sql-migrate/...
161+
go get -tags godror -v github.com/aman00323/sql-migrate/...
162162
```
163163

164164
2. Download Oracle Office Client(e.g. macos, click [Instant Client](https://www.oracle.com/database/technologies/instant-client/downloads.html) if you are other system)
@@ -185,7 +185,7 @@ development:
185185
Import sql-migrate into your application:
186186

187187
```go
188-
import "github.com/rubenv/sql-migrate"
188+
import "github.com/aman00323/sql-migrate"
189189
```
190190

191191
Set up a source of migrations, this can be from memory, from a set of files, from bindata (more on that later), or from any library that implements [`http.FileSystem`](https://godoc.org/net/http#FileSystem):
@@ -247,7 +247,7 @@ fmt.Printf("Applied %d migrations!\n", n)
247247

248248
Note that `n` can be greater than `0` even if there is an error: any migration that succeeded will remain applied even if a later one fails.
249249

250-
Check [the GoDoc reference](https://godoc.org/github.com/rubenv/sql-migrate) for the full documentation.
250+
Check [the GoDoc reference](https://godoc.org/github.com/aman00323/sql-migrate) for the full documentation.
251251

252252
## Writing migrations
253253
Migrations are defined in SQL files, which contain a set of SQL statements. Special comments are used to distinguish up and down migrations.

doc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Installation
1616
1717
To install the library and command line program, use the following:
1818
19-
go get -v github.com/rubenv/sql-migrate/...
19+
go get -v github.com/aman00323/sql-migrate/...
2020
2121
Command-line tool
2222
@@ -93,7 +93,7 @@ Library
9393
9494
Import sql-migrate into your application:
9595
96-
import "github.com/rubenv/sql-migrate"
96+
import "github.com/aman00323/sql-migrate"
9797
9898
Set up a source of migrations, this can be from memory, from a set of files or from bindata (more on that later):
9999

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/rubenv/sql-migrate
1+
module github.com/aman00323/sql-migrate
22

33
go 1.16
44

migrate.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"strings"
1616
"time"
1717

18-
"github.com/rubenv/sql-migrate/sqlparse"
18+
"github.com/aman00323/sql-migrate/sqlparse"
1919
"gopkg.in/gorp.v1"
2020
)
2121

@@ -732,7 +732,7 @@ func (ms MigrationSet) getMigrationDbMap(db *sql.DB, dialect string) (*gorp.DbMa
732732

733733
// When using the mysql driver, make sure that the parseTime option is
734734
// configured, otherwise it won't map time columns to time.Time. See
735-
// https://github.com/rubenv/sql-migrate/issues/2
735+
// https://github.com/aman00323/sql-migrate/issues/2
736736
if dialect == "mysql" {
737737
var out *time.Time
738738
err := db.QueryRow("SELECT NOW()").Scan(&out)

sql-migrate/command_common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"fmt"
55

6-
"github.com/rubenv/sql-migrate"
6+
migrate "github.com/aman00323/sql-migrate"
77
)
88

99
func ApplyMigrations(dir migrate.MigrationDirection, dryrun bool, limit int) error {

sql-migrate/command_down.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"flag"
55
"strings"
66

7-
"github.com/rubenv/sql-migrate"
7+
migrate "github.com/aman00323/sql-migrate"
88
)
99

1010
type DownCommand struct {

sql-migrate/command_redo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"strings"
77

8-
migrate "github.com/rubenv/sql-migrate"
8+
migrate "github.com/aman00323/sql-migrate"
99
)
1010

1111
type RedoCommand struct {

sql-migrate/command_skip.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"strings"
77

8-
"github.com/rubenv/sql-migrate"
8+
migrate "github.com/aman00323/sql-migrate"
99
)
1010

1111
type SkipCommand struct {

sql-migrate/command_status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"strings"
88
"time"
99

10+
migrate "github.com/aman00323/sql-migrate"
1011
"github.com/olekukonko/tablewriter"
11-
"github.com/rubenv/sql-migrate"
1212
)
1313

1414
type StatusCommand struct {

sql-migrate/command_up.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"flag"
55
"strings"
66

7-
"github.com/rubenv/sql-migrate"
7+
migrate "github.com/aman00323/sql-migrate"
88
)
99

1010
type UpCommand struct {

0 commit comments

Comments
 (0)