github.com/mattes/migrate

migrate

Package migrate reads migrations from sources and runs them against databases.

50

Decision Signals

Health score 50/100, confidence 75/100.

Caution
Maintenance 15
Adoption 42
Security 92
Maturity 52
Developer DX 83
Confidence 75

Install

go get github.com/mattes/migrate

Package Data

updated Jun 11, 2026
Latest versionv3.0.1+incompatible
Imported by289 packages
Stars0
Forks0
Last activity9 years ago
Latest releaseUnknown
LicenseUnknown
Known vuln records0

API Surface

55 symbols
SymbolKindSynopsis
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

Maintained Alternatives

limited recent repository activity

#1 sql-migrate

SQL Schema migration tool for Go.

Go Database Migration Libraries 3.4K stars 1.9K imported-by 100% confidence
95

#2 migrate

Package migrate reads migrations from sources and runs them against databases.

Go Database Migration Libraries 18.6K stars 2.0K imported-by 100% confidence
91

#3 rel

Package rel contains all rel primary APIs, such as Repository.

Go Database Migration Libraries 783 stars 123 imported-by 100% confidence
91

#4 goose

A database migration tool. Supports SQL migrations and Go functions.

Go Database Migration Libraries 10.9K stars 0 imported-by 80% confidence
89

#5 soda

A Tasty Treat For All Your Database Needs

Go Database Migration Libraries 1.5K stars 0 imported-by 45% confidence
82

#6 schema

Package schema provides tools to manage database schema changes ("migrations") as embedded functionality inside another application which is using a database/sql

Go Database Migration Libraries 0 stars 14 imported-by 80% confidence
68

Similar Packages

Go Database Migration Libraries

#1 sql-migrate

SQL Schema migration tool for Go.

Go Database Migration Libraries 3.4K stars 1.9K imported-by 100% confidence
95

#2 migrate

Package migrate reads migrations from sources and runs them against databases.

Go Database Migration Libraries 18.6K stars 2.0K imported-by 100% confidence
91

#3 rel

Package rel contains all rel primary APIs, such as Repository.

Go Database Migration Libraries 783 stars 123 imported-by 100% confidence
91

#4 goose

A database migration tool. Supports SQL migrations and Go functions.

Go Database Migration Libraries 10.9K stars 0 imported-by 80% confidence
89

#5 soda

A Tasty Treat For All Your Database Needs

Go Database Migration Libraries 1.5K stars 0 imported-by 45% confidence
82