db-migrations

Manage Freetool database schema evolution with DBUp SQL scripts.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/wonderlydotcom/freetool --skill db-migrations-wonderlydotcom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: db-migrations
Source: https://github.com/wonderlydotcom/freetool/tree/main/.agents/skills/db-migrations
Command: npx skills add https://github.com/wonderlydotcom/freetool --skill db-migrations-wonderlydotcom

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of managing database schema changes for Freetool applications, ensuring data integrity and consistency across environments.

Core Features & Use Cases

  • Automated Schema Evolution: Apply and manage database migrations using DBUp scripts.
  • First-time Setup: Configure databases for new local or Dockerized Freetool instances.
  • EF Core Integration: Handle complex EF Core model changes by writing explicit SQL migrations.
  • Use Case: When adding a new feature that requires changes to the user table, use this skill to create a new SQL migration script, apply it to the database, and verify the changes.

Quick Start

Use the db-migrations skill to add a new SQL migration script for the user table.

Frequently Asked Questions about db-migrations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage database schema changes using SQL scripts?

You can manage database schema changes by applying DBUp SQL scripts to track and execute migrations. This ensures your persistence schema aligns with application requirements through a defined migration workflow.

What is the best way to run database migrations on API startup?

Running database migrations on API startup is supported by this skill using DBUp scripts. It automates schema evolution to ensure data integrity and consistency across application environments.

How do I set up a database for a new local or Dockerized application instance?

Database setup for new local or Dockerized instances is handled through initial DBUp SQL scripts. This first-time configuration prepares the persistence schema to match your application's requirements.

Can I use explicit SQL migrations for EF Core model changes?

Yes, you can handle complex EF Core model changes by writing explicit SQL migrations. This ensures the database schema evolves correctly without relying solely on automated framework generation.

Why write explicit SQL scripts instead of using automated EF Core migrations?

Writing explicit SQL scripts provides precise control over schema evolution and ensures data integrity. It defines a clear migration workflow that aligns the persistence layer with application requirements.

What limitations exist when using DBUp for database migrations?

DBUp migrations require explicit SQL scripts for schema changes and do not automatically generate migrations from EF Core models. You must manually write scripts to ensure the persistence schema aligns with application requirements.