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
{{ message }}
Repository navigation
Idiom for updating column to CURRENT_TIMESTAMP #249
PostgREST supports setting a column to the current timestamp with now() (since postgresql supports casting 'now()'::timestamptz). But the pydantic models generated by supabase type fields as datetime. It would be nice to have an idiomatic technique for doing this.
Some possibilities:
postgrest.constants.NOW defined as typing.cast(datetime, "now()")
Activity
o-santi commentedon Oct 1, 2026
The generated models do not come from this repository. They come from https://github.com/supabase/sdk. I will move this issue there.
feat(database): let generated write types set a column to the server'…
spydon commentedon Dec 2, 2026
Done in supabase/supabase-py#2168