Build a PostgreSQL workflow with Kysely, generated TypeScript types, and migrations to keep database queries aligned with schema changes.