blob: 0c7a06f5bd50fe6538b9353aa1d71fb9c8187e98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
---
description: Handle Drizzle migrations (generate, push, rollback)
argument-hint: "[generate|push|rollback|status]"
allowed-tools: Bash, Read, Write
---
Handle Drizzle migrations: $ARGUMENTS
Available actions:
- **generate** - Generate migration from schema changes
- **push** - Push schema changes to database
- **rollback** - Rollback last migration
- **status** - Check migration status
Steps:
1. Check current migration status
2. Execute the requested migration action
3. Verify the operation completed successfully
4. Show resulting database state
Always backup production data before running migrations.
|