© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
4 replies
jawmes808

Why does my created_at column get updated?

Kind of a dumb question, but I have a table called "tasks" with columns "id", "created_at", "task", and "completed". When I update a row, i.e., setting "completed" to true, it updates the created_at column. The default value is now(). Do I need to protect it from being updated?

Eventually I would rather have an updated_at column with the timestamp of updates.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Handing `created_at` and `updated_at`
SupabaseSSupabase / help-and-questions
13mo ago
Why is the created_at column nullable by default?
SupabaseSSupabase / help-and-questions
4y ago
updated_at
SupabaseSSupabase / help-and-questions
4y ago
i can't sort authentication users by created_at why?
SupabaseSSupabase / help-and-questions
4mo ago