Generate Kysely migration as typescript #2153

Closed
opened 2026-03-13 09:30:45 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @gdaybrice on GitHub (Oct 19, 2025).

Is this suited for github?

  • Yes, this is suited for github

No response

Describe the solution you'd like

I propose adding support for generating Kysely migrations in TypeScript format. This would allow developers to maintain type-safe database schema changes under version control, while leveraging Kysely's migration API for better TypeScript integration.

Describe alternatives you've considered

Currently, BetterAuth migrations either generates raw SQL migrations or applies changes directly to the database without proper version control.

Additional context

Duplicate of https://github.com/better-auth/better-auth/issues/2017 as it was automatically closed

Originally created by @gdaybrice on GitHub (Oct 19, 2025). ### Is this suited for github? - [x] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. _No response_ ### Describe the solution you'd like I propose adding support for generating Kysely migrations in TypeScript format. This would allow developers to maintain type-safe database schema changes under version control, while leveraging Kysely's migration API for better TypeScript integration. ### Describe alternatives you've considered Currently, BetterAuth migrations either generates raw SQL migrations or applies changes directly to the database without proper version control. ### Additional context Duplicate of https://github.com/better-auth/better-auth/issues/2017 as it was automatically closed
GiteaMirror added the enhancement label 2026-03-13 09:30:45 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#2153