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.
Was this page helpful?