wasp-database
CommunityEffortless Wasp database migrations & schema.
AuthorToonVos
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the complex process of managing database schema changes and migrations in Wasp projects. It prevents common errors, ensures type safety, and simplifies database setup, saving developers from frustrating data sync issues.
Core Features & Use Cases
- Guided Migration Workflow: Provides a step-by-step process for modifying
schema.prisma, running migrations, and ensuring Wasp types are updated. - PostgreSQL Integration: Guides on setting up and using PostgreSQL, which is essential for advanced Wasp features like enums and background jobs.
- Error Prevention: Highlights critical rules like mandatory restarts and correct migration commands, preventing common "types not updating" or "database out of sync" errors.
- Use Case: Add a new
statusfield with an enum type to yourTaskmodel inschema.prisma. This Skill will guide you through running the migration, ensuring your database is updated, and that your Wasp application's types correctly reflect the new schema.
Quick Start
Add a new status field with an enum type to the Task model in schema.prisma. Generate and apply the migration, then restart Wasp.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: wasp-database Download link: https://github.com/ToonVos/empty-opensaas/archive/main.zip#wasp-database Please download this .zip file, extract it, and install it in the .claude/skills/ directory.