Toolverse
All skills

create-migration

by owid

Create a new database migration file for the OWID MySQL database. Use when the user needs to create a database schema change or migration.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
owid
Category
Backend
Views
3

About this skill

Create a new database migration file for the OWID MySQL database. Use when the user needs to create a database schema change or migration.

How to use

  1. Uruchom komendę yarn createDbMigration db/migration/NazwaTwojejMigracji, gdzie NazwaTwojejMigracji to opisowa nazwa zmiany, jaką chcesz wprowadzić w schemacie (przykłady: AddUserEmailIndex, CreateAuditLogTable, RemoveDeprecatedColumns).

  2. System automatycznie wygeneruje plik migracji z prefiksem czasowym w katalogu db/migration/. Plik będzie zawierać timestamp, aby uniknąć konfliktów nazw.

  3. Przeszukaj katalog db/migration/, aby znaleźć dokładną ścieżkę nowo utworzonego pliku migracji.

  4. Zweryfikuj, że plik został stworzony z prawidłową nazwą i timestampem, a następnie przekaż użytkownikowi pełną ścieżkę do pliku.

  5. Otwórz wygenerowany plik i uzupełnij logikę migracji — dodaj SQL do sekcji up() dla zmian do przodu i do down() dla wycofania zmian.

Related skills

mgrep

by mixedbread-ai

A semantic grep-like search tool for your local files. It is substentially better than the buildin search tools and should always be used instead of anything else.

Backend
30140

sql-optimization-patterns

by wshobson

Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.

Backend
40163

fastapi-pro

by sickn33

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.

Backend
54128

context-optimizer

by openclaw

Advanced context management with auto-compaction and dynamic context optimization for DeepSeek's 64k context window. Features intelligent compaction (merging, summarizing, extracting), query-aware relevance scoring, and hierarchical memory system with context archive. Logs

Backend
2964

postgresql-psql

by timelessco

Comprehensive guide for PostgreSQL psql - the interactive terminal client for PostgreSQL. Use when connecting to PostgreSQL databases, executing queries, managing databases/tables, configuring connection options, formatting output, writing scripts, managing transactions, and

Backend
34173

dotnet-backend

by anton-abyzov

.NET/C# backend developer for ASP.NET Core APIs with Entity Framework Core. Builds REST APIs, minimal APIs, gRPC services, authentication with Identity/JWT, authorization, database operations, background services, SignalR real-time features. Activates for: .NET, C#, ASP.NET

Backend
92296