RobinBlomberg / kysely-codegen

Generate Kysely type definitions from your database.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shouldn't columns with DEFAULT NULL be optional?

thelinuxlich opened this issue · comments

Or at least have an option to create them with Generated<T | null> ?

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar

Just leave out DEFAULT if it's null. That's the default default.