You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's mostly a wrapper around kysely-codegen, using its internal codegen directly. The CLI accepts the same options/flags as kysely-codegen. Currently it expects migration files to export up and down functions, same pattern as postgresql-migration-example.
It also has a --watch option, it will watch the migrations and regenerate the types when a migration file changes/deleted/added.
The Kysely officially recommended workflow is to auto-generate schema from DB (after running migrations).
What is recommended solution if I am using
pglite
during the development?The text was updated successfully, but these errors were encountered: