dbmatelightweightdatabasemigrationcli
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "dbmatelightweightdatabasemigrationcli" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-11c9f8484a5b53db89fe242e52595edd9936b5c446d9aa976769cc276fd8efa6. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/dbmate-lightweight-database-migration-cli before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
dbmate is a standalone, framework-agnostic database migration tool that uses plain SQL files; it supports PostgreSQL, MySQL, SQLite, ClickHouse, BigQuery, and Spanner, and can be used with any programming language or framework.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "dbmate Lightweight Database Migration CLI"
slug: "dbmate-lightweight-database-migration-cli"
version: "1.0.0"
displayName: "dbmate Lightweight Database Migration CLI"
summary: "dbmate 是一个独立的、与框架无关的数据库迁移工具,使用纯 SQL 文件。它支持 PostgreSQL、MySQL、SQLite、ClickHouse、BigQuery 和 Spanner,并且可以与任何编程语言或框架一起使用。"
license: "MIT"
description: "dbmate 是一个独立的、与框架无关的数据库迁移工具,使用纯 SQL 文件。它支持 PostgreSQL、MySQL、SQLite、ClickHouse、BigQuery 和 Spanner,并且可以与任何编程语言或框架一起使用。"
github_stars: 6801
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Developer Tools"
framework: "Custom Agents"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 6801
npm_package: "dbmate"
npm_weekly_downloads: 99225dbmate 轻量级数据库迁移 CLI
dbmate 是一个独立的、与框架无关的数据库迁移工具,使用纯 SQL 文件。它支持 PostgreSQL、MySQL、SQLite、ClickHouse、BigQuery 和 Spanner,并且可以与任何编程语言或框架一起使用。
安装
使用与您的环境匹配的上游安装或设置路径:
- npm install --save-dev dbmate
- npx dbmate --help
- brew install dbmate
- Docker 镜像发布到 GitHub Container Registry (ghcr.io/amacneil/dbmate)。
上游的要求和注意事项:
- 它是一个独立的命令行工具,可以与 Go、Node.js、Python、Ruby、PHP、Rust、C++ 或您用于编写数据库支持应用程序的任何其他语言或框架一起使用。这尤其有帮助...
- Docker
- 记得设置 --network=host 或参见 此评论 了解有关在 docker 网络中使用 dbmate 的更多技巧:
基本用法或入门笔记:
-
迁移在事务内部原子性地运行
-
NPM
-
Extracted from upstream docs: https://raw.githubusercontent.com/amacneil/dbmate/HEAD/README.md
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供跨多种主流数据库(PostgreSQL、MySQL、SQLite、ClickHouse、BigQuery、Spanner)的迁移能力,适用性强
- 与框架无关,支持多种编程语言,满足开发者通用需求
Highlights
- description 清晰描述了工具的核心功能与适用场景,触发词精准
Areas to improve
-
缺少端到端示例 Reported severity: Minor
文档提供了安装和基本用法指引,但缺少具体的使用示例来展示完整流程
Recommendation: 建议补充一个完整的迁移示例,包括创建迁移文件、运行迁移、回滚等操作
Highlights
- frontmatter 完整,包含必要的元数据信息
- 文档结构基本清晰,有安装说明和用法指引
Areas to improve
-
异常处理覆盖不足 Reported severity: Minor
文档未提及常见异常情况(如网络问题、权限错误、数据库连接失败等)的处理方式
Recommendation: 建议补充异常处理说明和故障排查指南,提升执行可靠性
Highlights
- 提供了多种安装方式(npm、brew、Docker),工具来源明确
- 提及迁移在事务内部原子性运行,保证了一定的一致性
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 28, 29, 30
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- ghcr.io
- github.com
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.