# Database

## Generating migrations

1. Make your changes to the respective drizzle schema
2. Fix issues in code
3. To create migrations
   - for the central database run `npm run db:generate`
   - for tenant databases run `npm run db:tenant:generate`
