Automic VaultAutomic Vault

brew

sql-migrate mit Homebrew, apt, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für sql-migrate in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install sql-migrate

local Homebrew formula metadata

Linux

Debian aptverifiziert · 92%
sudo apt install sql-migrate

Debian stable package indexes · sql-migrate · Quelle: deb.debian.org

Nixverifiziert · 92%
nix profile install nixpkgs#sql-migrate

nixpkgs package indexes · pkgs/by-name/sq/sql-migrate/package.nix · Quelle: api.github.com

Überblick

Paketzusammenfassung

SQL schema migration tool for Go

Befehle und Aliase

  • sql-migrate

Verlauf

Projektgeschichte und Nutzung

sql-migrate is a Go SQL schema migration tool that can be used as either a standalone CLI or an importable Go library. Its README describes it as based on gorp and goose, with migrations written directly in SQL.

Projektgeschichte

The public GitHub repository was created in September 2014, in the period when Go database tooling was maturing around small command-line programs and libraries. The project kept the classic migration commands: `up`, `down`, `redo`, `status`, and `new`.

Adoptionsgeschichte

The project accumulated broad package-manager availability in the supplied package facts, including Homebrew, Debian, Ubuntu, and Nix. Its GitHub repository also shows thousands of stars, indicating durable use beyond a single distribution channel.

Wie es verwendet wird

As a CLI, sql-migrate reads `dbconfig.yml` by default, selects an environment with `-env`, and applies or rolls back SQL migration files. As a Go library, it can run migrations from memory, a folder, embedded assets, or an HTTP filesystem, which made it useful for Go applications that wanted migration logic inside the binary.

Warum Paket-Nerds sich dafür interessieren

For package-manager culture, sql-migrate represents the Go tradition of shipping one small static-ish executable that can also serve as a library. Package maintainers care because database migration tools sit in deployment paths, and users often want the exact same binary available in local development, CI, and server provisioning.

Zeitleiste

  • 2014: GitHub repository created.
  • 2014: README examples show migration status output and timestamped SQL migration files.
  • 2020s: README documents Go module-era installation with `go install ...@latest` for Go 1.18 and later.
  • 2026: Repository remained active according to GitHub metadata.

Related projects

  • The README explicitly says sql-migrate is based on gorp and goose and works well with sqlx. It also documents database drivers for SQLite, PostgreSQL, MySQL, MSSQL, and Oracle.

Sicherheitslage

Risikostufe: blue

broad file, network, media, or database tool signal.

Risikoklassifikator

blue Risiko · mittel Konfidenz · tool

Warum

  • broad file, network, media, or database tool signal

Signale

  • text:sql

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
dbconfig.yml

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
dbconfig.yml

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
sql-migratecliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-25
Manager-Version1.8.1
Manager aktualisiert
lokale DatenOK
Upstreamaktuell
neueste erkannte Versionv1.8.1

https://github.com/rubenv/sql-migrate

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:sql-migrate
Version1.8.1
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/sql-migrate
Homepagehttps://github.com/rubenv/sql-migrate
Repositoryhttps://github.com/rubenv/sql-migrate
Upstream-Dokumentationhttps://github.com/rubenv/sql-migrate#readme
LizenzMIT
Quellarchivhttps://github.com/rubenv/sql-migrate/archive/refs/tags/v1.8.1.tar.gz
Build-Abhängigkeitengo
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namesql-migrate
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

sql-migrate 0.0~git20191213.0633851-3+b16

SQL schema migration tool for Go (program)

https://github.com/rubenv/sql-migrate

sudo apt install sql-migrate
  • Section: devel
  • Architecture: amd64
  • Source Package: golang-github-rubenv-sql-migrate
  • 2 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Sql Migrate
Debian stable package indexes · deb.debian.org · Debian stable package indexes: sql-migrate from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

sql-migrate

nix profile install nixpkgs#sql-migrate
  • normalized package name match
  • Abgeglichen nach: Sql Migrate
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/sq/sql-migrate/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

sql-migrate 0.0~git20191213.0633851-3build1

SQL schema migration tool for Go (program)

https://github.com/rubenv/sql-migrate

sudo apt install sql-migrate
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: golang-github-rubenv-sql-migrate
  • 2 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Sql Migrate
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: sql-migrate from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment