macOS
brew install sql-migratelocal Homebrew formula metadata
安装
brew install sql-migratelocal Homebrew formula metadata
sudo apt install sql-migrateDebian stable package indexes · sql-migrate · 来源: deb.debian.org
nix profile install nixpkgs#sql-migratenixpkgs package indexes · pkgs/by-name/sq/sql-migrate/package.nix · 来源: api.github.com
概览
SQL schema migration tool for Go
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
dbconfig.ymlCredential-bearing paths to review before unattended agent runs.
dbconfig.yml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
sql-migrate | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/rubenv/sql-migrate
安装元数据
| 软件包键 | brew:sql-migrate |
|---|---|
| 版本 | 1.8.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/sql-migrate |
| 主页 | https://github.com/rubenv/sql-migrate |
| 仓库 | https://github.com/rubenv/sql-migrate |
| 上游文档 | https://github.com/rubenv/sql-migrate#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/rubenv/sql-migrate/archive/refs/tags/v1.8.1.tar.gz |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sql-migrate |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-migratesql-migrate
nix profile install nixpkgs#sql-migratesql-migrate 0.0~git20191213.0633851-3build1
SQL schema migration tool for Go (program)
https://github.com/rubenv/sql-migrate
sudo apt install sql-migrate来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.