jackc/tern
The SQL Fan's Migrator observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 56
- age_days: 5685
- days_rel: 11
- days_push: 11
- n_releases_24m: 8
Adoption not part of the score
1316 stars · 86 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Tern is a standalone SQL schema migration tool for PostgreSQL, usable as a CLI binary or Go library. It supports SQL and Go function migrations, SSH tunnels, variable interpolation, and a separate workflow for managing database code like functions and views.
Use cases
- run postgres schema migrations from the command line
- manage database functions and views as code
- migrate a postgres database in a CI pipeline
- apply sql migrations with variable interpolation
- run database migrations over an ssh tunnel
- embed a migration tool in a go application
When to choose
- you use PostgreSQL and prefer plain SQL migrations over ORM-based ones
- you need a lightweight standalone migrator or a Go library
- you need SSH tunneling or template-based config for migrations
When to avoid
- you need migrations for databases other than PostgreSQL
- you want declarative/diff-based schema management rather than ordered migration files
Facets
cli-tool · maturity active
database cli developer-tools databases developer-tools backend windows go cli sql-migrations postgresql schema-migration database-migrations linux macos
1 source
- readme: https://github.com/jackc/tern · fetched 2026-08-28 · eb519781585e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jackc/tern | main | 95 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem