lucyparsons / OpenOversight

Police oversight and accountability through public data 👮
https://openoversight.com
GNU General Public License v3.0
237 stars 79 forks source link

Use `onupdate` for `last_updated_at` fields #1061

Closed michplunkett closed 1 year ago

michplunkett commented 1 year ago

What issue are you seeing?

Instead of manually updating the last_updated_at values, we should be using the onupdate=func.now() syntax.