#1 sql-migrate
SQL Schema migration tool for Go.
Package migrate reads migrations from sources and runs them against databases.
Health score 91/100, confidence 100/100.
| Latest version | v3.5.4+incompatible |
| Imported by | 2.0K packages |
| Stars | 18.6K |
| Forks | 1.6K |
| Last activity | 2 months ago |
| Latest release | v4.19.1 (6 months ago) |
| License | NOASSERTION |
| Known vuln records | 0 |
| Symbol | Kind | Synopsis |
|---|---|---|
| ErrDirty | Type | type ErrDirty struct{ ... } |
| ErrDirty.Error | Method | func (e ErrDirty) Error() string |
| ErrDirty.Version | Field | Version int |
| ErrShortLimit | Type | type ErrShortLimit struct{ ... } |
| ErrShortLimit.Error | Method | func (e ErrShortLimit) Error() string |
| ErrShortLimit.Short | Field | Short uint |
| Logger | Type | type Logger interface{ ... } |
| Logger.Printf | Method | Printf func(format string, v ...interface{}) |
| Logger.Verbose | Method | Verbose func() bool |
| Migrate | Type | type Migrate struct{ ... } |
| Migrate.Close | Method | func (m *Migrate) Close() (source error, database error) |
| Migrate.Down | Method | func (m *Migrate) Down() error |
SQL Schema migration tool for Go.
A database migration tool. Supports SQL migrations and Go functions.
A Tasty Treat For All Your Database Needs
Package rel contains all rel primary APIs, such as Repository.
Package schema provides tools to manage database schema changes ("migrations") as embedded functionality inside another application which is using a database/sql