Compare commits

1 Commits
v0.0.1 ... main

Author SHA1 Message Date
0d45841bc6 Fix readme 2026-05-31 16:48:15 +02:00

View File

@@ -14,13 +14,13 @@ A PostgreSQL schema migration tool that generates and applies migrations by comp
### As a Library ### As a Library
```bash ```bash
go get git.petrovv.com/go-migrate go get git.petrovv.com/nikola/go_sql_schema_migrate
``` ```
### CLI Tool ### CLI Tool
```bash ```bash
go install git.petrovv.com/go-migrate/cmd/go-migrate@latest go install git.petrovv.com/nikola/go_sql_schema_migrate/cmd/go-migrate@latest
``` ```
## Usage ## Usage
@@ -28,7 +28,7 @@ go install git.petrovv.com/go-migrate/cmd/go-migrate@latest
### Library ### Library
```go ```go
import "git.petrovv.com/go-migrate" import "git.petrovv.com/nikola/go_sql_schema_migrate"
ctx := context.Background() ctx := context.Background()
db, _ := pgxpool.New(ctx, "postgres://user:pass@localhost:5432/db") db, _ := pgxpool.New(ctx, "postgres://user:pass@localhost:5432/db")