While using the kysely-codegen tool to automatically create all models from my database, I have noticed a peculiar behavior. It seems to be adding a Generated
type to every field instead of generating only number
or boolean
. Any idea why this is happening?
Is there a way to avoid this and specify the data types directly?
export interface MyTable {
id: Generated<Numeric>
otherColumn: Generated<boolean>