Open
Description
Bug report
- I confirm this is a bug with Supabase, not with my own application.
- I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
Interval columns aren't correctly inferred as strings.
To Reproduce
- Create a table with an interval column
- Run
supabase gen types --lang=typescript --local
- See that the interval column is generated as
unknown
Expected behavior
The interval column should be generated as string
.
Screenshots
n/a
System information
- Version of supabase (not supabase-js): 2.20.5
- Version of Node.js: 22.12.0
Additional context
The format of the string depends on SET intervalstyle
, but it's always a string.