kysley + sqlite how to handle "numeric" boolean types with anonymous plugin and additionalFields?
when using the
anonymous plugin and specifying additional fields its unclear which data type to use for sqlite booleans.
- sqlite stores booleans as ints (0, 1)
- i set a default of 0
kysely codegen generates the type Generated<number> (since it has a default value)
better auth needs a data type for the additional fields. im not sure which type to specify - boolean or number?
0 Replies