chore: update cursor rules

This commit is contained in:
javayhu 2025-06-15 08:12:15 +08:00
parent 3136766a6d
commit 92a87ceb03
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ alwaysApply: false
## Database (Drizzle ORM)
- Schema definitions in `src/db/schema.ts`
- Migrations in `drizzle/`
- Migrations in `src/db/migrations`
- Use `db:generate` to create new migration files based on schema changes
- Use `db:migrate` to apply pending migrations to the database
- Use `db:push` to sync schema changes directly to the database (development only)

View File

@ -19,6 +19,7 @@ alwaysApply: false
- `src/payment/`: Payment integration
- `src/analytics/`: Analytics and tracking
- `src/storage/`: File storage integration
- `src/notification/`: Sending Notifications
## Configuration Files
- `next.config.ts`: Next.js configuration