Database Migration
CLAWHUB · Unverified
Execute database migrations across ORMs and platforms with zero-downtime strategies, data transformation, and rollback procedures. Use when migrating databas... Skill: Database Migration Owner: emiltsoi Summary: Execute database migrations across ORMs and platforms with zero-downtime strategies, data transformation, and rollback procedures. Use when migrating databas... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-11T01:59:30.090Z | auto - Initial release of the database-migration skill. - Provides step-by-step guides for schema and data migrations using Sequelize, T
- 62
- Rank
- 84
- Safety
- 1.0k
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 11, 2026
- Adoption signal
- 1K downloadsadoption · Oct 11, 2026
- Latest release
- 1.0.0release · Apr 11, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 1.0.0release
- Initial release of the database-migration skill. - Provides step-by-step guides for schema and data migrations using Sequelize, TypeORM, and Prisma. - Includes best practices for zero-downtime deployment, rollback procedures, and complex data transformations. - Covers migration patterns such as adding/removing/renaming columns, changing data types, and transactional migrations. - Offers examples for safe schema evolution and data model refactoring across multiple ORMs.
Observed Apr 11, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s17bq3w6hqf048s78myxhnrjj984m305:database-migration- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-emiltsoi-database-migration/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
12,769 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: database-migration
description: Execute database migrations across ORMs and platforms with zero-downtime strategies, data transformation, and rollback procedures. Use when migrating databases, changing schemas, performing data transformations, or implementing zero-downtime deployment strategies.
---
# Database Migration
Master database schema and data migrations across ORMs (Sequelize, TypeORM, Prisma), including rollback strategies and zero-downtime deployments.
## When to Use This Skill
- Migrating between different ORMs
- Performing schema transformations
- Moving data between databases
- Implementing rollback procedures
- Zero-downtime deployments
- Database version upgrades
- Data model refactoring
## ORM Migrations
### Sequelize Migrations
```javascript
// migrations/20231201-create-users.js
module.exports = {
up: async (queryInterface, Sequelize) => {
await queryInterface.createTable("users", {
id: {
type: Sequelize.INTEGER,
primaryKey: true,
autoIncrement: true,
},
email: {
type: Sequelize.STRING,
unique: true,
allowNull: false,
},
createdAt: Sequelize.DATE,
updatedAt: Sequelize.DATE,
});
},
down: async (queryInterface, Sequelize) => {
await queryInterface.dropTable("users");
},
};
// Run: npx sequelize-cli db:migrate
// Rollback: npx sequelize-cli db:migrate:undo
```
### TypeORM Migrations
```typescript
// migrations/1701234567-CreateUsers.ts
import { MigrationInterface, QueryRunner, Table } from "typeorm";
export class CreateUsers1701234567 implements MigrationInterface {
public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.createTable(
new Table({
name: "users",
columns: [
{
name: "id",
type: "int",
isPrimary: true,
isGenerated: true,
generationStrategy: "increment",
},
{
name: "email",
type: "varchar",
isUnique: true,
},
{
name: "created_at",
type: "timestamp",
default: "CURRENT_TIMESTAMP",
},
],
}),
);
}
public async down(queryRunner: QueryRunner): Promise<void> {
await queryRunner.dropTable("users");
}
}
// Run: npm run typeorm migration:run
// Rollback: npm run typeorm migration:revert
```
### Prisma Migrations
```prisma
// schema.prisma
model User {
id Int @id @default(autoincrement())
email String @unique
createdAt DateTime @default(now())
}
// Generate migration: npx prisma migrate dev --name create_users
// Apply: npx prisma migrate deploy
```
## Schema Transformations
### Adding Columns with Defaults
```javascript
// Safe migration: add column with default
module.exports = {
up: async (queryInterface, Sequelize) => {
await queryInterface.addColumn("users", "status", {
type: Sequelize.STRING,
_meta.json
{
"ownerId": "kn7ctet14gwdza7t1gcjb78kwh84n2ae",
"slug": "database-migration",
"version": "1.0.0",
"publishedAt": 1775872770090
}skill-card.md
## Description: Execute database migrations across ORMs and platforms with zero-downtime strategies, data transformation, and rollback procedures. This skill is ready for commercial/non-commercial use. ## Publisher: [emiltsoi](https://clawhub.ai/user/emiltsoi) ### License/Terms of Use: MIT-0 ## Use Case: Developers and engineers use this skill for planning database schema changes, data transformations, ORM migrations, rollback procedures, and zero-downtime deployment strategies across Sequelize, TypeORM, and Prisma. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: High-impact destructive migration and rollback examples may cause data loss if applied directly to production systems. Mitigation: Use this skill as general reference, test plans in staging, require verified backups, and obtain explicit approval before destructive changes. Risk: The checkpoint rollback example drops a live table during exception handling. Mitigation: Avoid that pattern for live systems and use vetted recovery procedures or transaction-based rollback where appropriate. Risk: Migration commands may run unexpected tooling versions if project dependencies are not pinned. Mitigation: Pin migration tooling in project dependencies and run commands through lockfile-controlled local binaries. ## Reference(s): ## Skill Output: **Output Type(s):** [Text, Markdown, Code, Shell commands, Guidance] **Output Format:** [Markdown guidance with code blocks and inline shell commands] **Output Parameters:** [1D] **Other Properties Related to Output:** [Produces migration guidance and examples; it does not execute database commands directly.] ## Skill Version(s): 1.0.0 (source: server release metadata) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-emiltsoi-database-migration. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about Database Migration. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-emiltsoi-database-migration, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/emiltsoi/skills/database-migration",
"sourceUrl": "https://clawhub.ai/emiltsoi/skills/database-migration",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T14:54:34.883Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-emiltsoi-database-migration/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-emiltsoi-database-migration/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T14:54:34.883Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1K downloads",
"href": "https://clawhub.ai/emiltsoi/database-migration",
"sourceUrl": "https://clawhub.ai/emiltsoi/database-migration",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T14:54:34.883Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.0",
"href": "https://clawhub.ai/emiltsoi/database-migration",
"sourceUrl": "https://clawhub.ai/emiltsoi/database-migration",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-11T01:59:30.090Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-emiltsoi-database-migration/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-emiltsoi-database-migration/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.0",
"description": "- Initial release of the database-migration skill. - Provides step-by-step guides for schema and data migrations using Sequelize, TypeORM, and Prisma. - Includes best practices for zero-downtime deployment, rollback procedures, and complex data transformations. - Covers migration patterns such as adding/removing/renaming columns, changing data types, and transactional migrations. - Offers examples for safe schema evolution and data model refactoring across multiple ORMs.",
"href": "https://clawhub.ai/emiltsoi/database-migration",
"sourceUrl": "https://clawhub.ai/emiltsoi/database-migration",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-11T01:59:30.090Z",
"isPublic": true
}
]
}Record generated Nov 24, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-emiltsoi-database-migration/run-check
