Database Migrations
Establishes comprehensive database migration patterns with version control, rollback procedures, and safe deployment strategies.
Install this skill
Security score
The Database Migrations skill was audited on Mar 1, 2026 and we found 13 security issues across 1 threat category. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 161 | console.log(`✅ Migration ${migration.version} executed successfully`); |
Template literal with variable interpolation in command context
| 171 | console.error(`❌ Migration ${migration.version} failed:`, error); |
Template literal with variable interpolation in command context
| 179 | throw new Error(`Migration ${version} not found`); |
Template literal with variable interpolation in command context
| 185 | throw new Error(`Migration ${version} was not executed`); |
Template literal with variable interpolation in command context
| 202 | console.log(`✅ Migration ${version} rolled back successfully`); |
Template literal with variable interpolation in command context
| 209 | console.error(`❌ Migration ${version} rollback failed:`, error); |
Template literal with variable interpolation in command context
| 220 | throw new Error(`Dependency ${dependency} not executed for migration ${migration.version}`); |
Template literal with variable interpolation in command context
| 332 | error: `Assertion failed: ${assertion.type} on ${assertion.target}` |
Template literal with variable interpolation in command context
| 385 | const countResult = await db.query(`SELECT COUNT(*) as count FROM ${assertion.target}`); |
Template literal with variable interpolation in command context
| 394 | throw new Error(`Unknown assertion type: ${assertion.type}`); |
Template literal with variable interpolation in command context
| 427 | console.log(`🚀 Starting migration deployment to ${config.environment}`); |
Template literal with variable interpolation in command context
| 467 | console.log(`💾 Creating backup for ${environment}...`); |
Template literal with variable interpolation in command context
| 533 | throw new Error(`${testResults.failedTests} migration tests failed`); |
Install this skill with one command
/learn @coverage-creatives/database-migrations