Skip to content

Commit ccd6bc4

Browse files
committed
Fix README sql and links
- Fix SQL syntax for create index concurrently - Use https links where appropriate Signed-off-by: Nicolas Payart <npayart@gmail.com>
1 parent 8d140a1 commit ccd6bc4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# sql-migrate
22

3-
> SQL Schema migration tool for [Go](http://golang.org/). Based on [gorp](https://github.com/go-gorp/gorp) and [goose](https://bitbucket.org/liamstask/goose).
3+
> 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
55
[![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)
66

@@ -15,7 +15,7 @@ Using [modl](https://github.com/jmoiron/modl)? Check out [modl-migrate](https://
1515
* Atomic migrations
1616
* Up/down migrations to allow rollback
1717
* Supports multiple database types in one project
18-
* Works great with other libraries such as [sqlx](http://jmoiron.github.io/sqlx/)
18+
* Works great with other libraries such as [sqlx](https://jmoiron.github.io/sqlx/)
1919

2020
## Installation
2121

@@ -298,7 +298,7 @@ Normally each migration is run within a transaction in order to guarantee that i
298298

299299
```sql
300300
-- +migrate Up notransaction
301-
CREATE UNIQUE INDEX people_unique_id_idx CONCURRENTLY ON people (id);
301+
CREATE UNIQUE INDEX CONCURRENTLY people_unique_id_idx ON people (id);
302302

303303
-- +migrate Down
304304
DROP INDEX people_unique_id_idx;
@@ -383,7 +383,7 @@ type MigrationSource interface {
383383

384384
The resulting slice of migrations will be executed in the given order, so it should usually be sorted by the `Id` field.
385385

386-
## Usage with [sqlx](http://jmoiron.github.io/sqlx/)
386+
## Usage with [sqlx](https://jmoiron.github.io/sqlx/)
387387

388388
This library is compatible with sqlx. When calling migrate just dereference the DB from your `*sqlx.DB`:
389389

0 commit comments

Comments
 (0)