qmetrics.net

Migrate

Go database migration tool and importable library

DatabasesDesktop/CLI app

Migrate applies ordered up and down database migrations from local or remote sources. Use it as a command-line tool or embed it as a Go library.

Overview

Migrate is database migration software written in Go. It reads migration definitions from configured sources and applies them in order to a target database, coordinating pluggable database and source drivers rather than encoding database-specific assumptions in one monolithic core.

Database drivers cover many engines, including PostgreSQL (including PGX variants), MySQL and MariaDB, SQLite, SQLCipher, Cassandra and ScyllaDB, MongoDB, Neo4j, Google Cloud Spanner, CockroachDB, YugabyteDB, ClickHouse, Firebird, Microsoft SQL Server, Redshift, rqlite, and others. Connection strings are expressed as URLs whose exact format depends on the driver.

Source drivers load migration files from the filesystem or from remote systems such as GitHub, GitHub Enterprise, Bitbucket, GitLab, AWS S3, and Google Cloud Storage. Each migration typically defines paired up and down steps; guidance covers authoring migration files.

A command-line wrapper exposes the library for interactive use, including graceful handling of interrupt signals, without config search paths or magic environment injection. The Go API has been stable for recent major versions, supports graceful stops to reduce corruption risk, accepts custom loggers, uses streaming readers for lower memory use, and supports integration into applications. Docker usage is covered alongside CLI install instructions.

Key features

  • Ordered up and down migrations
  • Many SQL and NoSQL database drivers
  • Filesystem and remote migration sources
  • CLI wrapper with graceful stop
  • Embeddable Go library API
  • URL-based database connection strings
  • Thread-safe operation
  • Docker usage documented

Use cases

  • Versioning relational schema changes
  • Shipping migrations from Git or object storage
  • Automating deploy-time database upgrades
  • Embedding migrations in Go services

Tags

Similar software

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

★ 67.9k⟳ yesterdayApache-2.0
Open Source Alternative to:PRTG Network Monitor

NocoDB

Self-hostable no-code database with spreadsheet interface

NocoDB turns Postgres, MySQL, SQLite, or a hosted database into editable tables with grid, kanban, form, gallery, and calendar views. Teams collaborate with roles, sharing, REST APIs, and workflow integrations.

★ 65.6k⟳ todaySource-available
DatabasesSelf-hostable

etcd

Raft-backed distributed consistent key-value store

etcd stores small critical configuration and coordination data for clusters. It exposes a gRPC API, tolerates failures via Raft, and ships with the etcdctl command-line client.

★ 52.7k⟳ 3 days agoApache-2.0
DatabasesSelf-hostable

DBeaver

Universal multi-platform database tool and SQL client

Free desktop client for developers and DBAs with SQL editing, data editing, ER diagrams, exports, and support for hundreds of JDBC or ODBC databases.

★ 52.6k⟳ todayApache-2.0
DatabasesDesktop/CLI app
Open Source Alternative to:DataGripNavicat+2

ClickHouse

Column-oriented real-time analytics database management system

ClickHouse is a column-oriented database for generating analytical reports in real time using SQL on large datasets.

★ 51.2k⟳ todayApache-2.0
Open Source Alternative to:Amazon Redshift