pkg.soopen package index

brew / 順位 7870

sql-migrate を Homebrew, apt, Nix でインストール

sql-migrate のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install sql-migrate

local Homebrew formula metadata

Linux

Debian apt確認済み · 92%
sudo apt install sql-migrate

Debian stable package indexes · sql-migrate · ソース: deb.debian.org

Nix確認済み · 92%
nix profile install nixpkgs#sql-migrate

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

概要

パッケージ概要

SQL schema migration tool for Go

コマンドとエイリアス

  • sql-migrate

履歴

プロジェクトの歴史と使われ方

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.

プロジェクトの歴史

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`.

採用の歴史

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.

使われ方

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.

パッケージ好きにとっての重要性

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.

タイムライン

  • 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.

セキュリティ状態

リスクレベル: blue

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

リスク分類器

リスク blue · 信頼度 中 · tool

理由

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

信号

  • text:sql

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

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

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
sql-migrate実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版1.8.1
マネージャ更新日2026-07-26
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:sql-migrate
バージョン1.8.1
パッケージマネージャHomebrew
ホームページhttps://github.com/rubenv/sql-migrate
リポジトリhttps://github.com/rubenv/sql-migrate
最終更新2026-07-26T04:03:44+02:00
Pulseupdated
Bottle未記録
サービス宣言なし

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

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 依存関係
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation